summaryrefslogtreecommitdiffstats
path: root/drivers/memory
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2016-04-15 11:13:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-05-01 23:20:04 +0200
commit3385af8c9d63be16295ae625d1ed81052167efb3 (patch)
tree7476e219262f07ca2fc2bdc4f5790cb0db7c73cd /drivers/memory
parentti-st: Fix complete_all() wrong usage (diff)
downloadlinux-3385af8c9d63be16295ae625d1ed81052167efb3.tar.xz
linux-3385af8c9d63be16295ae625d1ed81052167efb3.zip
drivers: amba: properly handle devices with power domains
To read pid/cid registers, the probed device need to be properly turned on. When it is inside a power domain, the bus code should ensure that the given power domain is enabled before trying to access device's registers. However in some cases power domain (or clocks) might not be yet available. Returning -EPROBE_DEFER is not a solution in such case, because callers don't handle this special error code. Instead such devices are added to the special list and their registration is retried from periodic worker until all resources are available. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/memory')
0 files changed, 0 insertions, 0 deletions