Commit bc682f4
ASoC: dapm: check properly the return value
snd_soc_dai_digital_mute() may return -ENOTSUPP but not -EOPNOTSUPP.
Fix the check.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
(cherry picked from linux-6.1-trunk/at91/sound)
Signed-off-by: Andrei Simion <andrei.simion@microchip.com>1 parent 149dbae commit bc682f4
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4085 | 4085 | | |
4086 | 4086 | | |
4087 | 4087 | | |
4088 | | - | |
| 4088 | + | |
4089 | 4089 | | |
4090 | 4090 | | |
4091 | 4091 | | |
| |||
4098 | 4098 | | |
4099 | 4099 | | |
4100 | 4100 | | |
4101 | | - | |
| 4101 | + | |
4102 | 4102 | | |
4103 | 4103 | | |
4104 | 4104 | | |
| |||
0 commit comments