]> git.karo-electronics.de Git - linux-beck.git/commit
[media] staging: omap4iss: Fix type of struct iss_device::crashed
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Wed, 2 Jul 2014 13:49:46 +0000 (10:49 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 26 Jul 2014 18:04:09 +0000 (15:04 -0300)
commitc6e58110da131a866f26b3860aea746de134318b
treeb83b82606963b7e348d26ecf67dcfda652950a61
parent56a65a1eb0151c60f4fd059e8e47cb4c98fec871
[media] staging: omap4iss: Fix type of struct iss_device::crashed

The crashed member of struct iss_device is documented to be a bitmask,
but a bool doesn't hold that many (usable) bits. Lines 589 and 659 of
iss.c strongly suggest that "unsigned int" was meant (the same type as
struct iss_pipeline::entities). Currently, any crashed entity will be
blamed on index 0, which is unlikely to be what was intended.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/omap4iss/iss.h