usb: ehci: Do not disable an already disabled periodic schedule
authorHans de Goede <hdegoede@redhat.com>
Wed, 24 Sep 2014 12:06:03 +0000 (14:06 +0200)
committerMarek Vasut <marex@denx.de>
Tue, 4 Nov 2014 05:04:00 +0000 (06:04 +0100)
commit32f2eac1e02c55bd0e948b28dd3bda5950f56f57
treeeeb6d64146c3cbc938f7c1209127ab0db6e3a375
parent0834bb2fb0664e02140cd09fb1e06c0d4c60095a
usb: ehci: Do not disable an already disabled periodic schedule

When periodic_schedules == 0, the schedule is disabled and there is no reason
to disable it again.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/usb/host/ehci-hcd.c