diff options
| author | Kuninori Morimoto <[email protected]> | 2023-05-30 00:49:56 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2023-05-31 12:25:04 +0100 |
| commit | a1c0221fa5baeae6c9dc30294c2c6d01f1f4379b (patch) | |
| tree | 898004f9a2ce1d7660925924d4b5b5c7e49da92f /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | cfcb31c456b15e298f88fb5ebedf7b32b009d32d (diff) | |
ASoC: soc-pcm.c: cleanup soc_get_playback_capture() error
soc_get_playback_capture() (A) checks dai_link status, and indicate error
if it was not matching (B).
(A) static int soc_get_playback_capture(...)
{
...
^ if (dai_link->dynamic && dai_link->num_cpus > 1) {
| dev_err(rtd->dev,
(B) "DPCM doesn't support Multi CPU for Front-Ends yet\n");
| return -EINVAL;
v }
...
}
We can use 100 char for 1 line today. This patch cleanup error code line.
Signed-off-by: Kuninori Morimoto <[email protected]>
Reviewed-by: Amadeusz Sławiński <[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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions