[PATCH] mtd: nand: vf610: Check the return value from clk_prepare_enable()

Fabio Estevam festevam at gmail.com
Mon Jul 17 14:52:38 PDT 2017


Hi Boris,

On Mon, Jul 17, 2017 at 6:08 PM, Boris Brezillon
<boris.brezillon at free-electrons.com> wrote:

> AFAICT pinctrl_pm_select_default_state() can also fail. What makes it
> different from clk_prepare_enable() failures?

IMHO we could even remove pinctrl_pm_select_default_state() from this
driver since pinctrl_pm_select_sleep_state() is never used.

This is the only driver that uses pinctrl_pm_select_default_state()
inside drivers/mtd/.



More information about the linux-mtd mailing list