cheza: Fix the port argument of overcurrent event
The port should be 1.
BRANCH=none
TEST=Made port-1 overcurrent and checked the interrupt triggered and
the message showed.
@@ -129,7 +129,7 @@ static void ppc_interrupt(enum gpio_signal signal)
static void usb1_oc_evt_deferred(void)
{
/* Only port-1 has overcurrent GPIO interrupt */
- board_overcurrent_event(0, 1);
+ board_overcurrent_event(1, 1);
}
DECLARE_DEFERRED(usb1_oc_evt_deferred);
