linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] clocksource: atmel-st: select MFD_SYSCON
@ 2015-03-19 13:17 Alexandre Belloni
  2015-03-19 13:19 ` Boris Brezillon
  2015-03-19 13:26 ` Daniel Lezcano
  0 siblings, 2 replies; 4+ messages in thread
From: Alexandre Belloni @ 2015-03-19 13:17 UTC (permalink / raw)
  To: linux-arm-kernel

Enforce MFD_SYSCON selection as the driver needs it. Else, it will still
compile with some warning about X1, x2 or sr being used uninitialized.

Reported-by: fengguang.wu at intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
Daniel,

I think this should go through the at91 tree as the patch introducing that issue
went there.

 drivers/clocksource/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 168035883afa..55aef6f89074 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -146,6 +146,7 @@ config ATMEL_PIT
 config ATMEL_ST
 	bool
 	select CLKSRC_OF
+	select MFD_SYSCON
 
 config CLKSRC_METAG_GENERIC
 	def_bool y if METAG
-- 
2.1.0

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

* [PATCH v2] clocksource: atmel-st: select MFD_SYSCON
  2015-03-19 13:17 [PATCH v2] clocksource: atmel-st: select MFD_SYSCON Alexandre Belloni
@ 2015-03-19 13:19 ` Boris Brezillon
  2015-03-19 13:26 ` Daniel Lezcano
  1 sibling, 0 replies; 4+ messages in thread
From: Boris Brezillon @ 2015-03-19 13:19 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, 19 Mar 2015 14:17:48 +0100
Alexandre Belloni <alexandre.belloni@free-electrons.com> wrote:

> Enforce MFD_SYSCON selection as the driver needs it. Else, it will still
> compile with some warning about X1, x2 or sr being used uninitialized.
> 
> Reported-by: fengguang.wu at intel.com
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>

> ---
> Daniel,
> 
> I think this should go through the at91 tree as the patch introducing that issue
> went there.
> 
>  drivers/clocksource/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
> index 168035883afa..55aef6f89074 100644
> --- a/drivers/clocksource/Kconfig
> +++ b/drivers/clocksource/Kconfig
> @@ -146,6 +146,7 @@ config ATMEL_PIT
>  config ATMEL_ST
>  	bool
>  	select CLKSRC_OF
> +	select MFD_SYSCON
>  
>  config CLKSRC_METAG_GENERIC
>  	def_bool y if METAG



-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

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

* [PATCH v2] clocksource: atmel-st: select MFD_SYSCON
  2015-03-19 13:17 [PATCH v2] clocksource: atmel-st: select MFD_SYSCON Alexandre Belloni
  2015-03-19 13:19 ` Boris Brezillon
@ 2015-03-19 13:26 ` Daniel Lezcano
  2015-03-20 10:58   ` Nicolas Ferre
  1 sibling, 1 reply; 4+ messages in thread
From: Daniel Lezcano @ 2015-03-19 13:26 UTC (permalink / raw)
  To: linux-arm-kernel

On 03/19/2015 02:17 PM, Alexandre Belloni wrote:
> Enforce MFD_SYSCON selection as the driver needs it. Else, it will still
> compile with some warning about X1, x2 or sr being used uninitialized.
>
> Reported-by: fengguang.wu at intel.com
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> ---
> Daniel,
>
> I think this should go through the at91 tree as the patch introducing that issue
> went there.

Ok.

Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>

>   drivers/clocksource/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
> index 168035883afa..55aef6f89074 100644
> --- a/drivers/clocksource/Kconfig
> +++ b/drivers/clocksource/Kconfig
> @@ -146,6 +146,7 @@ config ATMEL_PIT
>   config ATMEL_ST
>   	bool
>   	select CLKSRC_OF
> +	select MFD_SYSCON
>
>   config CLKSRC_METAG_GENERIC
>   	def_bool y if METAG
>


-- 
  <http://www.linaro.org/> Linaro.org ? Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

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

* [PATCH v2] clocksource: atmel-st: select MFD_SYSCON
  2015-03-19 13:26 ` Daniel Lezcano
@ 2015-03-20 10:58   ` Nicolas Ferre
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Ferre @ 2015-03-20 10:58 UTC (permalink / raw)
  To: linux-arm-kernel

Le 19/03/2015 14:26, Daniel Lezcano a ?crit :
> On 03/19/2015 02:17 PM, Alexandre Belloni wrote:
>> Enforce MFD_SYSCON selection as the driver needs it. Else, it will still
>> compile with some warning about X1, x2 or sr being used uninitialized.
>>
>> Reported-by: fengguang.wu at intel.com
>> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
>> ---
>> Daniel,
>>
>> I think this should go through the at91 tree as the patch introducing that issue
>> went there.
> 
> Ok.
> 
> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>

I take it: thanks!

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>


>>   drivers/clocksource/Kconfig | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
>> index 168035883afa..55aef6f89074 100644
>> --- a/drivers/clocksource/Kconfig
>> +++ b/drivers/clocksource/Kconfig
>> @@ -146,6 +146,7 @@ config ATMEL_PIT
>>   config ATMEL_ST
>>   	bool
>>   	select CLKSRC_OF
>> +	select MFD_SYSCON
>>
>>   config CLKSRC_METAG_GENERIC
>>   	def_bool y if METAG
>>
> 
> 


-- 
Nicolas Ferre

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

end of thread, other threads:[~2015-03-20 10:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-19 13:17 [PATCH v2] clocksource: atmel-st: select MFD_SYSCON Alexandre Belloni
2015-03-19 13:19 ` Boris Brezillon
2015-03-19 13:26 ` Daniel Lezcano
2015-03-20 10:58   ` Nicolas Ferre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).