diff options
author | Tony Prisk <linux@prisktech.co.nz> | 2013-05-17 23:18:49 +0200 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2013-05-30 01:13:58 +0200 |
commit | 419e321df8d7d605f21f980903befc65ee66e848 (patch) | |
tree | 31996345df3b54495aaa3008c9f68a9d7f835400 /drivers/clk/clk.c | |
parent | clk: si5351: Set initial clkout rate when defined in platform data. (diff) | |
download | linux-419e321df8d7d605f21f980903befc65ee66e848.tar.xz linux-419e321df8d7d605f21f980903befc65ee66e848.zip |
clk: vt8500: Fix unbalanced spinlock in vt8500_dclk_set_rate()
With the addition of a DVO clock, a bug is now evident in the vt8500
clock code:
[ 0.290000] WARNING: at init/main.c:698 do_one_initcall+0x158/0x18c()
[ 0.300000] initcall wm8505fb_driver_init+0x0/0xc returned with disabled int
This is caused by an unbalanced spinlock in vt8500_dclk_set_rate().
Replace the second call to spin_lock_irqsave() with spin_unlock_irqrestore().
Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/clk.c')
0 files changed, 0 insertions, 0 deletions