ANDROID: fix kernelci error due to fallthrough

Fix error flagged by kernelci for allmodconfig builds. Need
explicit "fallthrough" statement.

see https://linux.kernelci.org/build/id/62ba68b0fdb9daa19ca39bde/logs/

Fixes: 6bcb23254b ("ANDROID: Add vendor hook to skip usb audio suspend in offload mode")
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: I709ca3ab667cd31f6a9d8c83d48a8223a28dc911
This commit is contained in:
Todd Kjos 2022-06-28 04:42:35 +00:00
parent 7cc36d07bb
commit dd641cb2a4
1 changed files with 1 additions and 0 deletions

View File

@ -1590,6 +1590,7 @@ static int snd_usb_substream_playback_trigger(struct snd_pcm_substream *substrea
trace_android_vh_audio_usb_offload_suspend(substream, cmd, &suspend);
if (!suspend)
return 0;
fallthrough;
case SNDRV_PCM_TRIGGER_STOP:
stop_endpoints(subs, substream->runtime->status->state == SNDRV_PCM_STATE_DRAINING);
snd_usb_endpoint_set_callback(subs->data_endpoint,