]> git.itanic.dy.fi Git - linux-stable/commit
soc: mediatek: mtk-svs: keep svs alive if CONFIG_DEBUG_FS not supported
authorRoger Lu <roger.lu@mediatek.com>
Wed, 11 Jan 2023 07:45:21 +0000 (15:45 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 12:33:53 +0000 (13:33 +0100)
commit71285be619cb332f3217b3172ecaddd33d0f2b62
tree6bd717b7b866dbb4f7d13cf6beca3f8402078a4f
parent2746fdf51b594c0513a7f2610ea18932baa14a3b
soc: mediatek: mtk-svs: keep svs alive if CONFIG_DEBUG_FS not supported

[ Upstream commit 8bf305087629a98224aa97769587434ea4016767 ]

Some projects might not support CONFIG_DEBUG_FS but still needs svs to be
alive. Therefore, enclose debug cmd codes with CONFIG_DEBUG_FS to make sure
svs can be alive when CONFIG_DEBUG_FS not supported.

Signed-off-by: Roger Lu <roger.lu@mediatek.com>
Link: https://lore.kernel.org/r/20230111074528.29354-8-roger.lu@mediatek.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soc/mediatek/mtk-svs.c