diff options
author | Amadeusz Sławiński <[email protected]> | 2022-01-12 18:00:29 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-01-24 13:31:22 +0000 |
commit | feb00b736af64875560f371fe7f58b0b7f239046 (patch) | |
tree | acf0c3478a1924b0591b1a3886511f2eb23b09a7 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 3ce57f22cb23eefdf485589bbf675a30e72aeb45 (diff) |
ASoC: topology: Allow TLV control to be either read or write
There is no reason to force readwrite access on TLV controls. It can be
either read, write or both. This is further evidenced in code where it
performs following checks:
if ((k->access & SNDRV_CTL_ELEM_ACCESS_TLV_READ) && !sbe->get)
return -EINVAL;
if ((k->access & SNDRV_CTL_ELEM_ACCESS_TLV_WRITE) && !sbe->put)
return -EINVAL;
Fixes: 1a3232d2f61d ("ASoC: topology: Add support for TLV bytes controls")
Signed-off-by: Amadeusz Sławiński <[email protected]>
Reviewed-by: Cezary Rojewski <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions