]> git.baikalelectronics.ru Git - kernel.git/commit
phy: renesas: rcar-gen3-usb2: add conditions for uses_otg_pins == false
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Fri, 21 Sep 2018 11:53:23 +0000 (20:53 +0900)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 25 Sep 2018 10:40:11 +0000 (16:10 +0530)
commite2b2c0f2ad0ccfb0b9b6130080155b69b06f7fa7
tree02d4b8283708a49630f478eb477ec234139f66ac
parent8b8592aad39bd567706207515d789eedfcf971e5
phy: renesas: rcar-gen3-usb2: add conditions for uses_otg_pins == false

If uses_otg_pins is set to false, this driver 1) should disable otg
related interruptions, and 2) should not get ID pin signal, to avoid
unexpected behaviors. So, this patch adds conditions for it.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/renesas/phy-rcar-gen3-usb2.c