]> git.karo-electronics.de Git - linux-beck.git/commit
soc/tegra: pmc: Fix incorrect DPD request
authorVince Hsu <vinceh@nvidia.com>
Thu, 11 Aug 2016 01:13:36 +0000 (09:13 +0800)
committerThierry Reding <treding@nvidia.com>
Tue, 16 Aug 2016 10:30:52 +0000 (12:30 +0200)
commita9ccc123a8e05365f7515dcd023b01100809a6fa
tree4f0e5fac730e70f93b705fc61abc65bd394398aa
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
soc/tegra: pmc: Fix incorrect DPD request

Reading the DPD_REQ & DPD2_REQ registers returns the previous requests.
If we sets the current request bit with the returned value, then other
pads will be turned on or off unexpectedly.

Signed-off-by: Vince Hsu <vinceh@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c