commit | 7145cf12095265b8a292835d0f6da87f89fac1d1 | [log] [tgz] |
---|---|---|
author | Alexandre Rusev <arusev@dev.rtsoft.ru> | Thu Oct 27 18:18:37 2011 +0400 |
committer | Kumar Gala <galak@kernel.crashing.org> | Thu Nov 24 02:00:42 2011 -0600 |
tree | 8a9220e1e82fe248b652d9bf3da96437b52e987b | |
parent | 86f9a4330580b4ed3d5f7d5b0989ae69518c90f5 [diff] |
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: Alexandre Rusev <arusev@dev.rtsoft.ru> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>