Merge remote-tracking branches 'asoc/topic/rockchip', 'asoc/topic/rt5645' and 'asoc/topic/rt5677' into asoc-next
This commit is contained in:
@@ -702,6 +702,9 @@ static int rt5677_set_dsp_vad(struct snd_soc_codec *codec, bool on)
|
||||
static bool activity;
|
||||
int ret;
|
||||
|
||||
if (!IS_ENABLED(CONFIG_SND_SOC_RT5677_SPI))
|
||||
return -ENXIO;
|
||||
|
||||
if (on && !activity) {
|
||||
activity = true;
|
||||
|
||||
|
Reference in New Issue
Block a user