diff options
author | Stuart Henderson <stuarth@opensource.cirrus.com> | 2019-10-02 09:42:40 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-10-02 12:56:38 +0100 |
commit | 3ae7359c0e39f42a96284d6798fc669acff38140 (patch) | |
tree | f4943c4b8fccbb728506a6f01aae70116554f262 /sound/pci/maestro3.c | |
parent | 2bdf194e2030fce4f2e91300817338353414ab3b (diff) | |
download | linux-3ae7359c0e39f42a96284d6798fc669acff38140.tar.gz linux-3ae7359c0e39f42a96284d6798fc669acff38140.tar.bz2 linux-3ae7359c0e39f42a96284d6798fc669acff38140.zip |
ASoC: wm_adsp: Don't generate kcontrols without READ flags
User space always expects to be able to read ALSA controls, so ensure
no kcontrols are generated without an appropriate READ flag. In the case
of a read of such a control zeros will be returned.
Signed-off-by: Stuart Henderson <stuarth@opensource.cirrus.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20191002084240.21589-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/pci/maestro3.c')
0 files changed, 0 insertions, 0 deletions