[media] s5k5baf: Fix potential NULL pointer dereferencing
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 24 Dec 2013 11:42:05 +0000 (08:42 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 7 Jan 2014 10:48:46 +0000 (08:48 -0200)
commitc0ee62734e8e840b0096827f02b1aaac71ef5105
tree47869a1a50d362bc48d81b3e1be72b7d50e90036
parent7296e158b5a3340f44b64c86240e07922406e1c3
[media] s5k5baf: Fix potential NULL pointer dereferencing

Dereference 'fw' after the NULL check.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/s5k5baf.c