mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-29 11:37:59 -04:00
A flag is needed that tells the card driver if the codec has been initialized successfully over the modem's line discipline. Initially, codec->hw_write was used as the flag, but it was then dropped and the flag function associated with card->pop_time, already managed by the codec driver for diagnostic purposes. Since now the card->pop_time is going to be killed, stop abusing foreign fields in favor of an own one. Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://patch.msgid.link/87v7ctwj0w.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
19 lines
338 B
C
19 lines
338 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* cx20442.h -- audio driver for CX20442
|
|
*
|
|
* Copyright 2009 Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
|
|
*/
|
|
|
|
#ifndef _CX20442_CODEC_H
|
|
#define _CX20442_CODEC_H
|
|
|
|
struct cx20442_codec {
|
|
struct snd_soc_component *component;
|
|
bool ready;
|
|
};
|
|
|
|
extern struct tty_ldisc_ops v253_ops;
|
|
|
|
#endif
|