leds: lp5521/5523: Remove duplicate mutex
It can be a problem when a pattern is loaded via the firmware interface. LP55xx common driver has already locked the mutex in 'lp55xx_firmware_loaded()'. So it should be deleted. On the other hand, locks are required in store_engine_load() on updating program memory. Reported-by: NPali Rohár <pali.rohar@gmail.com> Reported-by: NPavel Machek <pavel@ucw.cz> Signed-off-by: NMilo Kim <milo.kim@ti.com> Signed-off-by: NBryan Wu <cooloney@gmail.com> Cc: <stable@vger.kernel.org>
Showing
想要评论请 注册 或 登录