Re: [PATCH] watchdog: bcm281xx: Fix use of uninitialized spinlock.

2017-04-27 Thread Guenter Roeck
On 04/27/2017 06:02 PM, Eric Anholt wrote: The bcm_kona_wdt_set_resolution_reg() call takes the spinlock, so initialize it earlier. Fixes a warning at boot with lock debugging enabled. Signed-off-by: Eric Anholt Reviewed-by: Guenter Roeck --- drivers/watchdog/bcm_kona_wdt.c | 3 ++- 1 fi

Re: [PATCH] watchdog: bcm281xx: Fix use of uninitialized spinlock.

2017-04-27 Thread Florian Fainelli
On 04/27/2017 06:02 PM, Eric Anholt wrote: > The bcm_kona_wdt_set_resolution_reg() call takes the spinlock, so > initialize it earlier. Fixes a warning at boot with lock debugging > enabled. > > Signed-off-by: Eric Anholt Fixes: 6adb730dc208 ("watchdog: bcm281xx: Watchdog Driver") Reviewed-by

[PATCH] watchdog: bcm281xx: Fix use of uninitialized spinlock.

2017-04-27 Thread Eric Anholt
The bcm_kona_wdt_set_resolution_reg() call takes the spinlock, so initialize it earlier. Fixes a warning at boot with lock debugging enabled. Signed-off-by: Eric Anholt --- drivers/watchdog/bcm_kona_wdt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/watchdog/bcm