ASoC: rsnd: add rsnd_ssi_busif_err_irq_enable/disable()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 8 Apr 2021 04:29:08 +0000 (13:29 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 14 Apr 2021 14:24:13 +0000 (15:24 +0100)
commit15c57ce07ce207069f1cd57ec117b11871f3afa6
tree019b0528c7b576178aa5d93c78601cb786ba11d5
parent691b379cbe348fbead33e49d1c1d0f045a2e3446
ASoC: rsnd: add rsnd_ssi_busif_err_irq_enable/disable()

Current ssi.c has duplicated code to control BUSIF
over/under run interrupt.
This patch adds new rsnd_ssi_busif_err_irq_enable/disable()
and share the code.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Yongbo Zhang <giraffesnn123@gmail.com>
Cc: Chen Li <licheng0822@thundersoft.com>
Link: https://lore.kernel.org/r/871rbl1jsb.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/ssi.c