Commit c6e58110 authored by Rasmus Villemoes's avatar Rasmus Villemoes Committed by Mauro Carvalho Chehab

[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: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 56a65a1e
...@@ -97,7 +97,7 @@ struct iss_device { ...@@ -97,7 +97,7 @@ struct iss_device {
u64 raw_dmamask; u64 raw_dmamask;
struct mutex iss_mutex; /* For handling ref_count field */ struct mutex iss_mutex; /* For handling ref_count field */
bool crashed; unsigned int crashed;
int has_context; int has_context;
int ref_count; int ref_count;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment