diff options
-rw-r--r-- | sound/soc/codecs/cx20442.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/cx20442.c b/sound/soc/codecs/cx20442.c index d5fd00a64748..1dd250f16a4e 100644 --- a/sound/soc/codecs/cx20442.c +++ b/sound/soc/codecs/cx20442.c | |||
@@ -383,8 +383,8 @@ static int cx20442_codec_remove(struct snd_soc_codec *codec) | |||
383 | struct cx20442_priv *cx20442 = snd_soc_codec_get_drvdata(codec); | 383 | struct cx20442_priv *cx20442 = snd_soc_codec_get_drvdata(codec); |
384 | 384 | ||
385 | if (cx20442->control_data) { | 385 | if (cx20442->control_data) { |
386 | struct tty_struct *tty = cx20442->control_data; | 386 | struct tty_struct *tty = cx20442->control_data; |
387 | tty_hangup(tty); | 387 | tty_hangup(tty); |
388 | } | 388 | } |
389 | 389 | ||
390 | if (!IS_ERR(cx20442->por)) { | 390 | if (!IS_ERR(cx20442->por)) { |