[PATCH 2/5] ASoC: mediatek: mt8192: add platform driver

Philipp Zabel p.zabel at pengutronix.de
Fri Oct 2 03:59:33 EDT 2020


Hi Jiaxin,

On Fri, 2020-10-02 at 15:35 +0800, Jiaxin Yu wrote:
> +static int mt8192_afe_pcm_dev_probe(struct platform_device *pdev)
> +{
[...]
> +       /* reset controller to reset audio regs before regmap cache */
> +       rstc = devm_reset_control_get(dev, "audiosys");

Please use devm_reset_control_get_exclusive() instead.

regards
Philipp



More information about the Linux-mediatek mailing list