All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: Steve Twiss <stwiss.opensource@diasemi.com>
Cc: LINUXKERNEL <linux-kernel@vger.kernel.org>,
	Samuel Ortiz <sameo@linux.intel.com>,
	David Dajun Chen <david.chen@diasemi.com>,
	Support Opensource <support.opensource@diasemi.com>
Subject: Re: [PATCH V1] da9063: mfd: Fix missing DA9063_M_DVC_RDY mask bit
Date: Thu, 23 Jul 2015 14:44:17 +0100	[thread overview]
Message-ID: <20150723134417.GC3436@x1> (raw)
In-Reply-To: <201507170959.t6H9xhRJ003971@swsrvapps-01.diasemi.com>

On Fri, 17 Jul 2015, Steve Twiss wrote:

> From: Steve Twiss <stwiss.opensource@diasemi.com>
> 
> Fix a missing DVC_RDY interrupt mask in struct regmap_irq definition.
> 
> The original submission of this driver did not contain all interrupt
> masking definitions in the struct regmap_irq contained in the file
> da9063-irq.c
> 
> The solution is to add a DA9063_IRQ_DVC_RDY entry to enum da9063_irqs
> list and to add the corresponding values to compensate for the missing
> mask bit in the static const struct regmap_irq da9063_irqs[] table.
> 
> Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com>
> Signed-off-by: Adam Ward <adam.ward.opensource@diasemi.com>
> 
> ---
> This patch applies against linux-next and v4.2-rc2 
> 
> 
>  drivers/mfd/da9063-irq.c        | 4 ++++
>  include/linux/mfd/da9063/core.h | 1 +
>  2 files changed, 5 insertions(+)

Applied, thanks.

> diff --git a/drivers/mfd/da9063-irq.c b/drivers/mfd/da9063-irq.c
> index eaf1ec9..2630263 100644
> --- a/drivers/mfd/da9063-irq.c
> +++ b/drivers/mfd/da9063-irq.c
> @@ -77,6 +77,10 @@ static const struct regmap_irq da9063_irqs[] = {
>  		.reg_offset = DA9063_REG_EVENT_B_OFFSET,
>  		.mask = DA9063_M_UVOV,
>  	},
> +	[DA9063_IRQ_DVC_RDY] = {
> +		.reg_offset = DA9063_REG_EVENT_B_OFFSET,
> +		.mask = DA9063_M_DVC_RDY,
> +	},
>  	[DA9063_IRQ_VDD_MON] = {
>  		.reg_offset = DA9063_REG_EVENT_B_OFFSET,
>  		.mask = DA9063_M_VDD_MON,
> diff --git a/include/linux/mfd/da9063/core.h b/include/linux/mfd/da9063/core.h
> index 79f4d82..621af82 100644
> --- a/include/linux/mfd/da9063/core.h
> +++ b/include/linux/mfd/da9063/core.h
> @@ -51,6 +51,7 @@ enum da9063_irqs {
>  	DA9063_IRQ_COMP_1V2,
>  	DA9063_IRQ_LDO_LIM,
>  	DA9063_IRQ_REG_UVOV,
> +	DA9063_IRQ_DVC_RDY,
>  	DA9063_IRQ_VDD_MON,
>  	DA9063_IRQ_WARN,
>  	DA9063_IRQ_GPI0,

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

      reply	other threads:[~2015-07-23 13:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-17  9:55 [PATCH V1] da9063: mfd: Fix missing DA9063_M_DVC_RDY mask bit Steve Twiss
2015-07-23 13:44 ` 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=20150723134417.GC3436@x1 \
    --to=lee.jones@linaro.org \
    --cc=david.chen@diasemi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sameo@linux.intel.com \
    --cc=stwiss.opensource@diasemi.com \
    --cc=support.opensource@diasemi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.