summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-zynqmp-gqspi.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2019-04-18 12:27:56 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-04-25 09:37:36 +0200
commite8b04de9da71b56dbbc5fa443d4ab52b617977bb (patch)
tree578cedf7ebdee221c964c617a15a91cabde4faa0 /drivers/spi/spi-zynqmp-gqspi.c
parent71b77697af9ef06b559875e4bd8dc3d141807c93 (diff)
downloadblackbird-op-linux-e8b04de9da71b56dbbc5fa443d4ab52b617977bb.tar.gz
blackbird-op-linux-e8b04de9da71b56dbbc5fa443d4ab52b617977bb.zip
PM / Domains: Allow OF lookup for multi PM domain case from ->attach_dev()
A genpd provider that uses the ->attach_dev() callback to look up resources for a device fails to do so when the device has multiple PM domains attached. That is because when genpd invokes the ->attach_dev() callback, it passes the allocated virtual device as the in-parameter. To address this problem, simply assign the dev->of_node for the virtual device, based upon the original device's OF node. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Niklas Cassel <niklas.cassel@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/spi/spi-zynqmp-gqspi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud