summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/soc/qcom/sc7280.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/sound/soc/qcom/sc7280.c b/sound/soc/qcom/sc7280.c
index dfcb7ed44331..34cdb99d4ed6 100644
--- a/sound/soc/qcom/sc7280.c
+++ b/sound/soc/qcom/sc7280.c
@@ -291,13 +291,7 @@ static void sc7280_snd_shutdown(struct snd_pcm_substream *substream)
SNDRV_PCM_STREAM_PLAYBACK);
}
break;
- case MI2S_SECONDARY:
- break;
- case LPASS_DP_RX:
- break;
default:
- dev_err(rtd->dev, "%s: invalid dai id 0x%x\n", __func__,
- cpu_dai->id);
break;
}
}
@@ -312,14 +306,8 @@ static int sc7280_snd_startup(struct snd_pcm_substream *substream)
case MI2S_PRIMARY:
ret = sc7280_rt5682_init(rtd);
break;
- case MI2S_SECONDARY:
- break;
- case LPASS_DP_RX:
- break;
default:
- dev_err(rtd->dev, "%s: invalid dai id 0x%x\n", __func__,
- cpu_dai->id);
- return -EINVAL;
+ break;
}
return ret;
}