[PATCH] USB: isp116x-hcd: per-port overcurrent reporting
This patch sets the isp116x to report overcurrent always per-port. Signed-off-by: Olav Kongas <ok@artecdesign.ee> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
165c0f3939
commit
9d233d9fae
@@ -1585,6 +1585,8 @@ static int isp116x_start(struct usb_hcd *hcd)
|
||||
be always set. Yet, instead, we request individual port
|
||||
power switching. */
|
||||
val |= RH_A_PSM;
|
||||
/* Report overcurrent per port */
|
||||
val |= RH_A_OCPM;
|
||||
isp116x_write_reg32(isp116x, HCRHDESCA, val);
|
||||
isp116x->rhdesca = isp116x_read_reg32(isp116x, HCRHDESCA);
|
||||
|
||||
|
Reference in New Issue
Block a user