Messages in this thread Patch in this message | | | From | Dong Aisheng <> | Subject | [PATCH RFC 2/2] soc: imx8m-blk-ctrl: do not export debugfs | Date | Mon, 20 Jun 2022 21:47:58 +0800 |
| |
imx8m blkctl does not support registers dumping via regmap debugfs due to power domain required which is not supported by current regmap core. So let's claim no debugfs support, otherwise the system may hang when dumping registers through regmap debugfs.
Cc: Mark Brown <broonie@kernel.org> Cc: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> --- drivers/soc/imx/imx8m-blk-ctrl.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/soc/imx/imx8m-blk-ctrl.c b/drivers/soc/imx/imx8m-blk-ctrl.c index 7ebc28709e94..a064670576e8 100644 --- a/drivers/soc/imx/imx8m-blk-ctrl.c +++ b/drivers/soc/imx/imx8m-blk-ctrl.c @@ -179,6 +179,7 @@ static int imx8m_blk_ctrl_probe(struct platform_device *pdev) .reg_bits = 32, .val_bits = 32, .reg_stride = 4, + .disable_debugfs = true, }; bc = devm_kzalloc(dev, sizeof(*bc), GFP_KERNEL); -- 2.25.1
| |