On Mon, 10 May 2021, Srinivas Kandagatla wrote: > Currently only two interrupts supported is added in wcd934x interrupt controller, > however if we are adding more interrupts the file will become too much unreadable. > > So add a macro to make adding new interrupts easy and also convert existing > slim and soundwire interrupts to use it. > This is in preparation to enable Multi Button Headset Control support on this > codec. > > WCD934x supports Multi Button Headset control which enable headset detection > along with headset button detection. > > This patch adds interrupts required for MBHC functionality. > > Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx> > --- > drivers/mfd/wcd934x.c | 43 +++++++++++++++++-------------------------- > 1 file changed, 17 insertions(+), 26 deletions(-) Applied, thanks. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog