diff options
author | Chen-Yu Tsai <wens@csie.org> | 2015-12-22 02:27:35 -0200 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2016-02-01 12:39:47 -0500 |
commit | 33c7c20d62a7916522628fbb45bb65cbc0b9f899 (patch) | |
tree | 703f3378a3c19b9336da269f3fb60821ae71a451 /fs | |
parent | 4476dc677064d27c1fb6ff28a47eeac384e8ba64 (diff) |
[media] rc: sunxi-cir: Initialize the spinlock properly
[ Upstream commit 768acf46e1320d6c41ed1b7c4952bab41c1cde79 ]
The driver allocates the spinlock but fails to initialize it correctly.
The kernel reports a BUG indicating bad spinlock magic when spinlock
debugging is enabled.
Call spin_lock_init() on it to initialize it correctly.
Fixes: b4e3e59fb59c ("[media] rc: add sunxi-ir driver")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions