summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2016-06-20 15:53:34 +0300
committerJiri Slaby <jslaby@suse.cz>2016-08-19 10:50:49 +0300
commit56008dd66cc01642b871d2897a76ea194cf1b082 (patch)
tree3b20cca73138f3ae03d85b2fca1eb31b808c5614 /sound
parent801044f8b8892a7b13c69a8dd48ce45e7b982a24 (diff)
downloadlinux-56008dd66cc01642b871d2897a76ea194cf1b082.tar.xz
iio:ad7266: Fix probe deferral for vref
commit 68b356eb3d9f5e38910fb62e22a78e2a18d544ae upstream. Currently the ad7266 driver treats any failure to get vref as though the regulator were not present but this means that if probe deferral is triggered the driver will act as though the regulator were not present. Instead only use the internal reference if we explicitly got -ENODEV which is what is returned for absent regulators. Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions