All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regulator: bcm590xx: Set n_voltages for linear reg
@ 2014-04-10 20:04 Tim Kryger
  2014-04-10 20:25 ` Matt Porter
  2014-04-10 22:10 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Tim Kryger @ 2014-04-10 20:04 UTC (permalink / raw)
  To: Matt Porter, Liam Girdwood, Mark Brown
  Cc: Tim Kryger, Linux Kernel Mailing List

Fix the macro used to define linear range regulators to include the
number of voltages.

Signed-off-by: Tim Kryger <tim.kryger@linaro.org>
---
 drivers/regulator/bcm590xx-regulator.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/bcm590xx-regulator.c b/drivers/regulator/bcm590xx-regulator.c
index ab08ca7..c3750c5 100644
--- a/drivers/regulator/bcm590xx-regulator.c
+++ b/drivers/regulator/bcm590xx-regulator.c
@@ -123,6 +123,7 @@ struct bcm590xx_info {
 #define BCM590XX_REG_RANGES(_name, _ranges) \
 	{ \
 		.name = #_name, \
+		.n_voltages = 64, \
 		.n_linear_ranges = ARRAY_SIZE(_ranges), \
 		.linear_ranges = _ranges, \
 	}
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] regulator: bcm590xx: Set n_voltages for linear reg
  2014-04-10 20:04 [PATCH] regulator: bcm590xx: Set n_voltages for linear reg Tim Kryger
@ 2014-04-10 20:25 ` Matt Porter
  2014-04-10 22:10 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Matt Porter @ 2014-04-10 20:25 UTC (permalink / raw)
  To: Tim Kryger; +Cc: Liam Girdwood, Mark Brown, Linux Kernel Mailing List

On Thu, Apr 10, 2014 at 01:04:00PM -0700, Tim Kryger wrote:
> Fix the macro used to define linear range regulators to include the
> number of voltages.
> 
> Signed-off-by: Tim Kryger <tim.kryger@linaro.org>

Looks good.

Acked-by: Matt Porter <mporter@linaro.org>

Mark: will you take this for 3.15 fixes?

-Matt

> ---
>  drivers/regulator/bcm590xx-regulator.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/regulator/bcm590xx-regulator.c b/drivers/regulator/bcm590xx-regulator.c
> index ab08ca7..c3750c5 100644
> --- a/drivers/regulator/bcm590xx-regulator.c
> +++ b/drivers/regulator/bcm590xx-regulator.c
> @@ -123,6 +123,7 @@ struct bcm590xx_info {
>  #define BCM590XX_REG_RANGES(_name, _ranges) \
>  	{ \
>  		.name = #_name, \
> +		.n_voltages = 64, \
>  		.n_linear_ranges = ARRAY_SIZE(_ranges), \
>  		.linear_ranges = _ranges, \
>  	}
> -- 
> 1.7.9.5
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] regulator: bcm590xx: Set n_voltages for linear reg
  2014-04-10 20:04 [PATCH] regulator: bcm590xx: Set n_voltages for linear reg Tim Kryger
  2014-04-10 20:25 ` Matt Porter
@ 2014-04-10 22:10 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2014-04-10 22:10 UTC (permalink / raw)
  To: Tim Kryger; +Cc: Matt Porter, Liam Girdwood, Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 170 bytes --]

On Thu, Apr 10, 2014 at 01:04:00PM -0700, Tim Kryger wrote:
> Fix the macro used to define linear range regulators to include the
> number of voltages.

Applied, thanks.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-10 22:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-10 20:04 [PATCH] regulator: bcm590xx: Set n_voltages for linear reg Tim Kryger
2014-04-10 20:25 ` Matt Porter
2014-04-10 22:10 ` Mark Brown

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.