[media] m5mols: Fix typo in get_fmt callback
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 5 Dec 2012 15:49:12 +0000 (12:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 6 Jan 2013 11:20:13 +0000 (09:20 -0200)
commit12861dc659c7181e0b52facd97df70c6dd326106
tree0c07366120c03c4a1235c3184d5f30b6cbc6d779
parentac706bf75cb99b91bf2792c52ab5b2e4b94560a1
[media] m5mols: Fix typo in get_fmt callback

The check of return value from __find_format() was inverted
by mistake. This patch fixes regression introduced in commit
5565a2ad47 [media] m5mols: Protect driver data with a mutex

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/m5mols/m5mols_core.c