summaryrefslogtreecommitdiff
path: root/sound/soc/intel/baytrail/sst-baytrail-pcm.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2017-11-06 01:48:19 +0000
committerMark Brown <broonie@kernel.org>2017-11-08 21:19:36 +0000
commit738b49efe6c6ba485e2b45265db535c58bbd54e7 (patch)
treeb8bb133a375e144777e805338fe697c77dcc53cd /sound/soc/intel/baytrail/sst-baytrail-pcm.c
parent69941bab7c7aeaa7bf7e84397e294c17f0b7c6df (diff)
ASoC: add snd_soc_component_read32
Current codec drivers are using snd_soc_read(). It will be replaced into snd_soc_component_read(), but these 2 are using different style. For example, it will be - val = snd_soc_read(xxx, reg); + ret = snd_soc_component_read(xxx, reg, &val); + if (ret < 0) { + ... + } To more smooth replace, let's add snd_soc_component_read32 which is copied from snd_soc_read() - val = snd_soc_read(xxx, reg); + val = snd_soc_component_read32(xxx, reg); Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/baytrail/sst-baytrail-pcm.c')
0 files changed, 0 insertions, 0 deletions