]> git.baikalelectronics.ru Git - kernel.git/commit
phy-sun4i-usb: Fix irq free conditions to match request conditions
authorHans de Goede <hdegoede@redhat.com>
Sat, 18 Jun 2016 09:31:33 +0000 (11:31 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 22 Jun 2016 06:03:46 +0000 (11:33 +0530)
commit6585b7ddc99cce5ef11aa8a923e396140d1f632b
tree94838caee6dbd50b1393b321e05e4497810dd285
parenta45ed0e1e7f07867e561563887b1d8844b9e459d
phy-sun4i-usb: Fix irq free conditions to match request conditions

commit fee8385e2488 ("phy: phy-sun4i-usb: Fix optional gpios failing
probe")
changed the condition under which irqs are requested, but omitted matching
changes to sun4i_usb_phy_remove(). This commit fixes this.

Fixes: fee8385e2488 ("phy: phy-sun4i-usb: Fix optional gpios failing probe")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-sun4i-usb.c