summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ad1980.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-08-01 21:05:47 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-08-02 12:43:45 +0200
commit98d3088e534a2a61f6690b5426909b0c3b57a785 (patch)
tree1ff1a2de36cd469d503550c117b4f3b5aa65d94b /sound/soc/codecs/ad1980.c
parentASoC: wm8962: Allow VMID time to fully ramp (diff)
downloadlinux-98d3088e534a2a61f6690b5426909b0c3b57a785.tar.xz
linux-98d3088e534a2a61f6690b5426909b0c3b57a785.zip
ASoC: core: Fix check before defaulting to regmap
Check if the chip has provided a write operation (which is mandatory for I/O) rather than looking for control data as some of the MFDs use a global for this. Also skip the attempt if there's no regmap available by device in case things get confused by the attempt to default. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Tested-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Diffstat (limited to 'sound/soc/codecs/ad1980.c')
0 files changed, 0 insertions, 0 deletions