We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a65cdff commit bd0f749Copy full SHA for bd0f749
sound/soc/ti/ams-delta.c
@@ -301,7 +301,7 @@ static int cx81801_open(struct tty_struct *tty)
301
static void cx81801_close(struct tty_struct *tty)
302
{
303
struct snd_soc_component *component = tty->disc_data;
304
- struct snd_soc_dapm_context *dapm = &component->card->dapm;
+ struct snd_soc_dapm_context *dapm;
305
306
del_timer_sync(&cx81801_timer);
307
@@ -313,6 +313,8 @@ static void cx81801_close(struct tty_struct *tty)
313
314
v253_ops.close(tty);
315
316
+ dapm = &component->card->dapm;
317
+
318
/* Revert back to default audio input/output constellation */
319
snd_soc_dapm_mutex_lock(dapm);
320
0 commit comments