Based on LS status we are detecting CDP or DCP
port. In other case, it is also safe to assume
as DCP and no need to suspect any presence
of bug.
Bug
1207043
Reviewed-on: http://git-master/r/188539
(cherry picked from commit
1da8e50007de74bdf7af7f1a14028b11ccfe7c7e)
Change-Id: I3f2e308d4821e9629b43eb558e7838b832661bf4
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/189046
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
* Status, host might initiate the RESET, then we see both
* line status as 0 (SE0). This really should not happen as we
* disabled the kernel preemption before reaching here.
+ * Bug can be raised here but it is also safe to assume
+ * as CDP.
*/
- BUG();
+ udc->connect_type = CONNECT_TYPE_CDP;
spin_unlock_irqrestore(&udc->lock, flags);
}