]> git.baikalelectronics.ru Git - kernel.git/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)
commitcd0cf29a8d4dd8afbdbbbd7f57c984d80870eca9
tree6bd717b7b866dbb4f7d13cf6beca3f8402078a4f
parent6cff59409b6d7f760fd0362f06c2dd6fba494759
soc: mediatek: mtk-svs: keep svs alive if CONFIG_DEBUG_FS not supported

[ Upstream commit 63e74cabcc8eb3317acdf03fa885b85c42c3d4b5 ]

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