linux/drivers/soc/mediatek
Enric Balletbo i Serra 9950588a45 soc: mediatek: pm-domains: Fix missing error code in scpsys_add_subdomain()
Adding one power domain in scpsys_add_subdomain is missing to assign an
error code when it fails. Fix that assigning an error code to 'ret',
this also fixes the follwowing smatch warning.

  drivers/soc/mediatek/mtk-pm-domains.c:492 scpsys_add_subdomain() warn: missing error code 'ret'

Fixes: dd65030295 ("soc: mediatek: pm-domains: Don't print an error if child domain is deferred")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20210303091054.796975-1-enric.balletbo@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2021-03-30 11:52:44 +02:00
..
Kconfig soc: mediatek: mmsys: Specify HAS_IOMEM dependency for MTK_MMSYS 2020-12-10 15:33:56 +01:00
Makefile soc / drm: mediatek: Move mtk mutex driver to soc folder 2021-02-04 22:55:46 +08:00
mt8167-pm-domains.h soc: mediatek: pm-domains: Add support for mt8167 2021-01-31 11:19:30 +01:00
mt8173-pm-domains.h soc: mediatek: pm-domains: Add SMI block as bus protection block 2020-11-27 12:04:42 +01:00
mt8183-pm-domains.h soc: mediatek: pm-domains: Add domain regulator supply 2021-01-31 15:47:49 +01:00
mt8192-pm-domains.h soc: mediatek: pm-domains: Add support for mt8192 2020-11-27 12:04:43 +01:00
mtk-cmdq-helper.c soc: mediatek: cmdq: Remove cmdq_pkt_flush() 2021-01-31 12:35:46 +01:00
mtk-devapc.c soc: mediatek: add mt6779 devapc driver 2020-11-28 00:28:25 +01:00
mtk-infracfg.c soc: mediatek: pm_domains: Make bus protection generic 2020-11-27 12:04:42 +01:00
mtk-mmsys.c soc: mediatek: mmsys: Use an array for setting the routing registers 2021-03-30 11:07:31 +02:00
mtk-mmsys.h soc: mediatek: mmsys: Use an array for setting the routing registers 2021-03-30 11:07:31 +02:00
mtk-mutex.c soc: mediatek: add mtk mutex support for MT8183 2021-03-17 17:30:57 +01:00
mtk-pm-domains.c soc: mediatek: pm-domains: Fix missing error code in scpsys_add_subdomain() 2021-03-30 11:52:44 +02:00
mtk-pm-domains.h soc: mediatek: pm-domains: Add domain regulator supply 2021-01-31 15:47:49 +01:00
mtk-pmic-wrap.c soc: mediatek: pwrap: add support for MT6359 PMIC 2020-02-17 11:07:25 +01:00
mtk-scpsys.c soc: mediatek: Check if power domains can be powered on at boot time 2020-10-26 10:45:04 +01:00