lkml.org 
[lkml]   [2022]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 08/49] sound: soc: codecs: wcd938x: Remove spurious type_base from irq chip
    Date
    This chip does not set num_type_regs or define any supported IRQ types,
    so regmap-irq can't configure its IRQ types. Including type_base in the
    chip definition is therefore redundant.

    Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
    ---
    sound/soc/codecs/wcd938x.c | 1 -
    1 file changed, 1 deletion(-)

    diff --git a/sound/soc/codecs/wcd938x.c b/sound/soc/codecs/wcd938x.c
    index c1b61b997f69..acba253b791e 100644
    --- a/sound/soc/codecs/wcd938x.c
    +++ b/sound/soc/codecs/wcd938x.c
    @@ -1298,7 +1298,6 @@ static struct regmap_irq_chip wcd938x_regmap_irq_chip = {
    .num_regs = 3,
    .status_base = WCD938X_DIGITAL_INTR_STATUS_0,
    .mask_base = WCD938X_DIGITAL_INTR_MASK_0,
    - .type_base = WCD938X_DIGITAL_INTR_LEVEL_0,
    .ack_base = WCD938X_DIGITAL_INTR_CLEAR_0,
    .use_ack = 1,
    .runtime_pm = true,
    --
    2.35.1
    \
     
     \ /
      Last update: 2022-06-20 22:07    [W:2.811 / U:1.132 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site