diff options
author | Ilya Yanok <yanok@emcraft.com> | 2011-08-01 21:00:28 (GMT) |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-12-20 17:53:25 (GMT) |
commit | 8653be1afd60d6e8c36139b487e375b70357d9ef (patch) | |
tree | 7a7539d52980c150544133c0ee85abf4590bbca5 /drivers/pci/rom.c | |
parent | 858a6303f2b14945447a964563f54c918ef3927e (diff) | |
download | linux-fsl-qoriq-8653be1afd60d6e8c36139b487e375b70357d9ef.tar.xz |
mfd: Fix twl-core oops while calling twl_i2c_* for unbound driver
Check inuse variable before trying to access twl_map to prevent
dereferencing of uninitialized variable.
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Cc: stable@kernel.org
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/pci/rom.c')
0 files changed, 0 insertions, 0 deletions