diff options
author | Vaibhav Hiremath <hvaibhav@ti.com> | 2012-11-14 10:07:54 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-15 04:09:06 +0100 |
commit | d1df50f438c12b0b25ad64bfcbc7bb1efdcf53b7 (patch) | |
tree | 12cafbfcb2efa69fd5098b5f36df4b95afa64e3c /mm | |
parent | Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/lin... (diff) | |
download | linux-d1df50f438c12b0b25ad64bfcbc7bb1efdcf53b7.tar.xz linux-d1df50f438c12b0b25ad64bfcbc7bb1efdcf53b7.zip |
net: davinci_mdio: Fix typo mistake in calling runtime-pm api
By mistake (most likely a copy-paste), instead of pm_runtime_get_sync()
api, driver is calling pm_runtime_put_sync() api in resume callback
function. The bug was introduced by commit id (ae2c07aaf74:
davinci_mdio: runtime PM support).
Now, the reason why it didn't impact functionality is, the patch has
been tested on AM335x-EVM and BeagleBone platform while submitting;
and in case of AM335x the MDIO driver doesn't control the module
enable/disable part, which is handled by CPSW driver.
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions