diff options
| author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2023-02-01 04:59:46 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2023-02-01 14:43:43 +0300 |
| commit | 68a410aff971e59b9e94aa22c4c5cb6a6af30729 (patch) | |
| tree | 1114322ea8c4adb241918de527b3b9797b9765d1 /tools/perf/scripts/python/compaction-times.py | |
| parent | 86b753a86f6dc31ca9bccb489ebde1968d26c89b (diff) | |
| download | linux-68a410aff971e59b9e94aa22c4c5cb6a6af30729.tar.xz | |
ASoC: rsnd: check whether playback/capture property exists
Current rsnd sets "channels_min" which is used from
snd_soc_dai_stream_valid() without checking DT playback/capture property.
Thus, "aplay -l" or "arecord -l" will indicate un-exising device.
This patch checks DT proerty and do nothing playback/capture settings if
not exist.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/878rhi6t7x.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
