[PATCH 14/14] ASoC: sunxi: simplify optional reset handling
Chen-Yu Tsai
wens at csie.org
Mon Jan 30 19:49:02 PST 2017
On Mon, Jan 30, 2017 at 7:41 PM, Philipp Zabel <p.zabel at pengutronix.de> wrote:
> As of commit bb475230b8e5 ("reset: make optional functions really
> optional"), the reset framework API calls use NULL pointers to describe
> optional, non-present reset controls.
>
> This allows to return errors from devm_reset_control_get_optional and to
> call reset_control_deassert unconditionally.
>
> Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
> Cc: Marcus Cooper <codekipper at gmail.com>
> Cc: Maxime Ripard <maxime.ripard at free-electrons.com>
> Cc: Chen-Yu Tsai <wens at csie.org>
> Cc: Mark Brown <broonie at kernel.org>
FWIW,
Acked-by: Chen-Yu Tsai <wens at csie.org>
More information about the linux-arm-kernel
mailing list