Skip to content

Commit

Permalink
Revert "cx20442: tty_ldisc_ops::write_wakeup is optional"
Browse files Browse the repository at this point in the history
This reverts commit 0e9ffdb.

It will be coming in through the ASoC tree instead.

Cc: Liam Girdwood <lgirdwood@gmail.com>
Reported-by: Mark Brown <broonie@kernel.org>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.com>
Cc: alsa-devel@alsa-project.org
Cc: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Greg Kroah-Hartman committed Jul 28, 2021
1 parent 3df15d6 commit a8cb3ed
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sound/soc/codecs/cx20442.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,13 +279,19 @@ 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,
.open = v253_open,
.close = v253_close,
.hangup = v253_hangup,
.receive_buf = v253_receive,
.write_wakeup = v253_wakeup,
};
EXPORT_SYMBOL_GPL(v253_ops);

Expand Down

0 comments on commit a8cb3ed

Please sign in to comment.