Re: [PATCH 2/2] mfd: sec-core: Return gracefully instead of BUG() if device cannot match

Lee Jones
2019-02-01T09:22:14Z

On Tue, 29 Jan 2019, Krzysztof Kozlowski wrote:

> Replace impossible BUG() in probe with a proper return. This can be
> triggered only in case of a clear bug (e.g. adding broken half-support
> for new S2MPSXX flavor) but BUG() is discouraged and the boot process
> can actually try to continue.
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
> drivers/mfd/sec-core.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)

Applied, thanks.

--
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog