ASoC: SAMSUNG: Allow mono in i2s driver
Subsystems (4)
PATCH 1/1 ASoC: SAMSUNG: Allow mono in i2s driver
Signed-off-by Charles Keepax <[email protected]>
---
I can't see any reason to not allow mono playback in the i2s driver and indeed it seems to work well on our test system here. However, I am fairly unfamilar with the code in this part of the tree so apologies if I am missing some constraint.
Thanks,
Charles
sound/soc/samsung/i2s.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/samsung/i2s.c +1 -1
@@ -991,7 +991,7 @@ static struct i2s_dai *i2s_alloc_dai(struct platform_device *pdev, bool sec) i2s->i2s_dai_drv.ops = &samsung_i2s_dai_ops; i2s->i2s_dai_drv.suspend = i2s_suspend; i2s->i2s_dai_drv.resume = i2s_resume; - i2s->i2s_dai_drv.playback.channels_min =2 ; + i2s->i2s_dai_drv.playback.channels_min =1 ; i2s->i2s_dai_drv.playback.channels_max =2 ; i2s->i2s_dai_drv.playback.rates =SAMSUNG_I2S_RATES ; i2s->i2s_dai_drv.playback.formats =SAMSUNG_I2S_FMTS ;
Signature · 1 line
1.7.2.5
Quoted 1 line · Charles Keepax
Signed-off-by Charles Keepax <[email protected]>
APPLIED, THANKS. Please also remember to CC maintainers on patches.