Re: [PATCH] clocksource/drivers/sprd: Fix Kconfig dependency

2018-05-07 Thread Chunyan Zhang
On 7 May 2018 at 15:49, Daniel Lezcano wrote: > On Mon, May 07, 2018 at 02:04:38PM +0800, Chunyan Zhang wrote: >> Hi Daniel, >> >> On 7 May 2018 at 13:51, Daniel Lezcano wrote: >> > On Thu, May 03, 2018 at 08:27:32PM +0800, Chunyan Zhang wrote: >> >> SPRD arch doesn't select SPRD_TIMER, so this c

Re: [PATCH] clocksource/drivers/sprd: Fix Kconfig dependency

2018-05-07 Thread Daniel Lezcano
On Mon, May 07, 2018 at 02:04:38PM +0800, Chunyan Zhang wrote: > Hi Daniel, > > On 7 May 2018 at 13:51, Daniel Lezcano wrote: > > On Thu, May 03, 2018 at 08:27:32PM +0800, Chunyan Zhang wrote: > >> SPRD arch doesn't select SPRD_TIMER, so this config would not > >> appear even if ARCH_SPRD is set

Re: [PATCH] clocksource/drivers/sprd: Fix Kconfig dependency

2018-05-06 Thread Chunyan Zhang
Hi Daniel, On 7 May 2018 at 13:51, Daniel Lezcano wrote: > On Thu, May 03, 2018 at 08:27:32PM +0800, Chunyan Zhang wrote: >> SPRD arch doesn't select SPRD_TIMER, so this config would not >> appear even if ARCH_SPRD is set and COMPILE_TEST is not. >> >> Fix the Kconfig selection rule by letting th

Re: [PATCH] clocksource/drivers/sprd: Fix Kconfig dependency

2018-05-06 Thread Daniel Lezcano
On Thu, May 03, 2018 at 08:27:32PM +0800, Chunyan Zhang wrote: > SPRD arch doesn't select SPRD_TIMER, so this config would not > appear even if ARCH_SPRD is set and COMPILE_TEST is not. > > Fix the Kconfig selection rule by letting the SPRD arch to select. Instead of changing this Kconfig, please

[PATCH] clocksource/drivers/sprd: Fix Kconfig dependency

2018-05-03 Thread Chunyan Zhang
SPRD arch doesn't select SPRD_TIMER, so this config would not appear even if ARCH_SPRD is set and COMPILE_TEST is not. Fix the Kconfig selection rule by letting the SPRD arch to select. This patch also sets the default value of SPRD_TIMER with ARCH_SPRD, but it still is selectable to users. Sign