Skip to content

Commit bad935c

Browse files
committed
device: support PPPS in parallel with the driver's USB control
Don't make PPPS path exclusive to the driver USB control. Allow both to be used at the same time in case the setup uses both PPPS-hubs and driver-specific control. Signed-off-by: Dmitry Baryshkov <[email protected]>
1 parent 9335390 commit bad935c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ void device_usb(struct device *device, bool on)
285285
{
286286
if (device->ppps_path)
287287
ppps_power(device, on);
288-
else if (device_has_control(device, usb))
288+
if (device_has_control(device, usb))
289289
device_control(device, usb, on);
290290
}
291291

0 commit comments

Comments
 (0)