ASoC: rt5640: Silence warning message about missing interrupt
authorDmitry Osipenko <digetx@gmail.com>
Mon, 2 Aug 2021 18:52:58 +0000 (21:52 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 5 Aug 2021 19:18:16 +0000 (20:18 +0100)
commit585fb31c2c3aad38a5add009171d7e3277b76d45
tree771da4812033edc5fe63d358faf8c890403726a4
parentbcee7ed09b8e70b65d5c04f5d1acd2cf4213c2f3
ASoC: rt5640: Silence warning message about missing interrupt

Interrupt is optional for the RT5640 codec. Nexus 7 doesn't use interrupt,
this results in a noisy warning message that looks like a error condition.
Make interrupt explicitly optional to silence the message, use modern
IRQF_NO_AUTOEN flag and correct the reg[q]uest typo in the message.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20210802185258.1881-1-digetx@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5640.c