fbdev: fbcon: Destroy mutex on freeing struct fb_info
authorShigeru Yoshida <syoshida@redhat.com>
Sun, 21 Aug 2022 11:17:31 +0000 (20:17 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Sep 2022 09:30:01 +0000 (11:30 +0200)
commitc3abfd6ce2f3833151a4501e80a48f824b3b5f4d
tree5a118aab05445231b66e30b418769aaeee73d5dd
parenta7dff6f41e16959b27021d522575c915a0de9916
fbdev: fbcon: Destroy mutex on freeing struct fb_info

[ Upstream commit 58559dfc1ebba2ae0c7627dc8f8991ae1984c6e3 ]

It's needed to destroy bl_curve_mutex on freeing struct fb_info since
the mutex is embedded in the structure and initialized when it's
allocated.

Signed-off-by: Shigeru Yoshida <syoshida@redhat.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/video/fbdev/core/fbsysfs.c