]> git.baikalelectronics.ru Git - kernel.git/commit
phy-core: Don't propagate -ENOSUPP from phy_pm_runtime_get_sync to caller
authorHans de Goede <hdegoede@redhat.com>
Mon, 17 Feb 2014 08:59:23 +0000 (14:29 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Feb 2014 20:13:16 +0000 (12:13 -0800)
commitd476887cd8a41c0c8ff77b73641da3c626f8ae0f
tree501ec94d375a86819df2c19eedf854c6a35dcd0a
parentd60822f219adba93b1c7a4a786f4c6af3ba7f45f
phy-core: Don't propagate -ENOSUPP from phy_pm_runtime_get_sync to caller

The phy-core allows phy_init and phy_power_on to be called multiple times,
but before this patch -ENOSUPP from phy_pm_runtime_get_sync would be
propagated to the caller for the 2nd and later calls.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/phy/phy-core.c