]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
bus: ti-sysc: Fix dispc quirk masking bool variables
authorTony Lindgren <tony@atomide.com>
Wed, 17 May 2023 07:04:16 +0000 (10:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jul 2023 17:39:35 +0000 (19:39 +0200)
commitaa7402de4488b3ac9a948b5573a08f1ef37dd228
tree21cb8be28392e8cc6e5861f4a9263c8a7de5d567
parentb538efc200150d884f6c10368e182c5a7075e9a1
bus: ti-sysc: Fix dispc quirk masking bool variables

[ Upstream commit f620596fa347170852da499e778a5736d79a4b79 ]

Fix warning drivers/bus/ti-sysc.c:1806 sysc_quirk_dispc()
warn: masking a bool.

While at it let's add a comment for what were doing to make
the code a bit easier to follow.

Fixes: 7324a7a0d5e2 ("bus: ti-sysc: Implement display subsystem reset quirk")
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/linux-omap/a8ec8a68-9c2c-4076-bf47-09fccce7659f@kili.mountain/
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/bus/ti-sysc.c