]> git.baikalelectronics.ru Git - kernel.git/commit
phy: renesas: rcar-gen3-usb2: enable/disable independent irqs
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Thu, 11 Apr 2019 10:27:36 +0000 (19:27 +0900)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 17 Apr 2019 08:43:14 +0000 (14:13 +0530)
commit70a0bcc2c26ca4df74ee6cd963d7166a9c06d3f6
tree848b8ab701b1062fc2f1768d50ce87c9a3097a56
parent6047b9089f93cf4fcae9c841c577f2cac867e05f
phy: renesas: rcar-gen3-usb2: enable/disable independent irqs

Since the previous code enabled/disabled the irqs both OHCI and EHCI,
it is possible to cause unexpected interruptions. To avoid this,
this patch creates multiple phy instances from phandle and
enables/disables independent irqs by the instances.

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