[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180604085957.GO25455@dell>
Date: Mon, 4 Jun 2018 09:59:57 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Robert Jarzmik <robert.jarzmik@...e.fr>
Cc: patches@...nsource.cirrus.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mfd: wm97xx-core: platform data can be NULL
On Sun, 03 Jun 2018, Robert Jarzmik wrote:
> It is not mandatory that platform data is passed along the ac97
> codec. Actually there are configuration without a battery connected to
> the ADC of the codec.
>
> This is for example the case for the PXA zylonite platform, so fix the
> NULL dereferencing by adding a test.
>
> Fixes: a5c6951c49fb ("mfd: wm97xx-core: core support for wm97xx Codec")
> Signed-off-by: Robert Jarzmik <robert.jarzmik@...e.fr>
> ---
> drivers/mfd/wm97xx-core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
--
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Powered by blists - more mailing lists