pwm: rockchip: fix lock warning
author黄涛 <huangtao@rock-chips.com>
Wed, 7 May 2014 11:47:44 +0000 (19:47 +0800)
committer黄涛 <huangtao@rock-chips.com>
Wed, 7 May 2014 11:47:44 +0000 (19:47 +0800)
commitf1c7ceac6452323b3f417b61defb0688e8ad4d80
tree947c45a700cb8ccd9b8c758e11f9d026bfe923c3
parentd7e7e908e2b5db43e26b50b3e31578471aac965a
pwm: rockchip: fix lock warning

INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0 #43
[<c00142ec>] (unwind_backtrace+0x0/0xe0) from [<c0011c08>] (show_stack+0x10/0x14)
[<c0011c08>] (show_stack+0x10/0x14) from [<c007e018>] (__lock_acquire.isra.24+0x1a4/0x7a4)
[<c007e018>] (__lock_acquire.isra.24+0x1a4/0x7a4) from [<c007ebd0>] (lock_acquire+0x120/0x144)
[<c007ebd0>] (lock_acquire+0x120/0x144) from [<c0717f84>] (_raw_spin_lock_irqsave+0x4c/0x60)
[<c0717f84>] (_raw_spin_lock_irqsave+0x4c/0x60) from [<c0288750>] (rk_pwm_config_v2+0xd4/0x15c)
[<c0288750>] (rk_pwm_config_v2+0xd4/0x15c) from [<c0288b98>] (rk_pwm_config+0x60/0x74)
drivers/pwm/pwm-rockchip.c