public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Cc: sameo@linux.intel.com, patches@opensource.wolfsonmicro.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mfd: wm8997: Mark INTERRUPT_STATUS_2_MASK as readable
Date: Mon, 10 Nov 2014 15:25:46 +0000	[thread overview]
Message-ID: <20141110152546.GE24004@x1> (raw)
In-Reply-To: <1415114782-32691-1-git-send-email-ckeepax@opensource.wolfsonmicro.com>

On Tue, 04 Nov 2014, Charles Keepax wrote:

> Technically this register is not used on wm8997 however the regmap core
> requires a continuous block of IRQs. The simplest solution is just to
> add the register.
> 
> Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
> ---
>  drivers/mfd/wm8997-tables.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

Applied, thanks.

> diff --git a/drivers/mfd/wm8997-tables.c b/drivers/mfd/wm8997-tables.c
> index 06c3093..c0c25d7 100644
> --- a/drivers/mfd/wm8997-tables.c
> +++ b/drivers/mfd/wm8997-tables.c
> @@ -670,6 +670,7 @@ static const struct reg_default wm8997_reg_default[] = {
>  	{ 0x00000C23, 0x0000 },    /* R3107  - Misc Pad Ctrl 4 */
>  	{ 0x00000C24, 0x0000 },    /* R3108  - Misc Pad Ctrl 5 */
>  	{ 0x00000D08, 0xFFFF },    /* R3336  - Interrupt Status 1 Mask */
> +	{ 0x00000D09, 0xFFFF },    /* R3337  - Interrupt Status 2 Mask */
>  	{ 0x00000D0A, 0xFFFF },    /* R3338  - Interrupt Status 3 Mask */
>  	{ 0x00000D0B, 0xFFFF },    /* R3339  - Interrupt Status 4 Mask */
>  	{ 0x00000D0C, 0xFEFF },    /* R3340  - Interrupt Status 5 Mask */
> @@ -1330,6 +1331,7 @@ static bool wm8997_readable_register(struct device *dev, unsigned int reg)
>  	case ARIZONA_INTERRUPT_STATUS_4:
>  	case ARIZONA_INTERRUPT_STATUS_5:
>  	case ARIZONA_INTERRUPT_STATUS_1_MASK:
> +	case ARIZONA_INTERRUPT_STATUS_2_MASK:
>  	case ARIZONA_INTERRUPT_STATUS_3_MASK:
>  	case ARIZONA_INTERRUPT_STATUS_4_MASK:
>  	case ARIZONA_INTERRUPT_STATUS_5_MASK:

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

      reply	other threads:[~2014-11-10 15:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-04 15:26 [PATCH] mfd: wm8997: Mark INTERRUPT_STATUS_2_MASK as readable Charles Keepax
2014-11-10 15:25 ` Lee Jones [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141110152546.GE24004@x1 \
    --to=lee.jones@linaro.org \
    --cc=ckeepax@opensource.wolfsonmicro.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=patches@opensource.wolfsonmicro.com \
    --cc=sameo@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox