summaryrefslogtreecommitdiffstats
path: root/sound/sound_core.c
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2016-04-21 07:58:35 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2016-05-05 19:00:40 +0100
commita41980f2a3eb33ed7a2636e83498b47e95ceb05b (patch)
tree7a85fde3ff00fe6964f0dbbe334736b4c36e82d1 /sound/sound_core.c
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff)
downloadlinux-a41980f2a3eb33ed7a2636e83498b47e95ceb05b.tar.bz2
ARM: 8566/1: 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: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'sound/sound_core.c')
0 files changed, 0 insertions, 0 deletions