Skip to content
Commit 7145cf12 authored by Alexandre Rusev's avatar Alexandre Rusev Committed by Kumar Gala
Browse files

powerpc/fsl-lbc: Fix for fsl_upm



If Freescale LBC driver fails to initialise itself from device tree, then
internal structure is freed only but not NULL-fied.  As result functions
fsl_lbc_find() after checking the structure is not NULL are trying to
access device registers.

Signed-off-by: default avatarAlexandre Rusev <arusev@dev.rtsoft.ru>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 86f9a433
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment