]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/sound/soc.h
ASoC: Add default snd_soc_default_writable_register() callback
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Thu, 24 Mar 2011 13:45:17 +0000 (13:45 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 26 Mar 2011 17:45:16 +0000 (17:45 +0000)
commit8020454c9a1ec5ac5801805896b5f69d0c573e17
tree60141172b88a90a0f31d9412d338d65c2d9c4f00
parentacd61451e55ea5848a6ab50d39a103e146fcf7ba
ASoC: Add default snd_soc_default_writable_register() callback

By using struct snd_soc_reg_access for the read/write/vol attributes
of the registers, we provide callbacks that automatically determine whether
a given register is readable/writable or volatile.

Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc.h
sound/soc/soc-cache.c
sound/soc/soc-core.c