aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2021-07-28 20:52:19 +0200
committerGreg Kroah-Hartman <[email protected]>2021-07-28 20:52:19 +0200
commita8cb3ede82fea8a0afc7d8ba8f4977a13a410441 (patch)
treefe733104612ec481acdda5e2657b5180bd88f285
parent3df15d6f37246d2f12f53d915c41d806289d3d46 (diff)
Revert "cx20442: tty_ldisc_ops::write_wakeup is optional"
This reverts commit 0e9ffdb236b8d273a086e86887192a62dd8f144a. It will be coming in through the ASoC tree instead. Cc: Liam Girdwood <[email protected]> Reported-by: Mark Brown <[email protected]> Cc: Jaroslav Kysela <[email protected]> Cc: Takashi Iwai <[email protected]> Cc: [email protected] Cc: Jiri Slaby <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--sound/soc/codecs/cx20442.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/codecs/cx20442.c b/sound/soc/codecs/cx20442.c
index 13258f3ca9aa..20981773f59f 100644
--- a/sound/soc/codecs/cx20442.c
+++ b/sound/soc/codecs/cx20442.c
@@ -279,6 +279,11 @@ static void v253_receive(struct tty_struct *tty, const unsigned char *cp,
}
}
+/* Line discipline .write_wakeup() */
+static void v253_wakeup(struct tty_struct *tty)
+{
+}
+
struct tty_ldisc_ops v253_ops = {
.name = "cx20442",
.owner = THIS_MODULE,
@@ -286,6 +291,7 @@ struct tty_ldisc_ops v253_ops = {
.close = v253_close,
.hangup = v253_hangup,
.receive_buf = v253_receive,
+ .write_wakeup = v253_wakeup,
};
EXPORT_SYMBOL_GPL(v253_ops);