summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorDafna Hirschfeld <dafna3@gmail.com>2019-01-21 09:46:15 -0200
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-01-25 19:03:28 -0200
commit7248d1ff0e2199128618a2eb427e798a46deaaf1 (patch)
treec576d647008f66ef6bb342b4e7f55c76a7a11ca0 /drivers/media/platform
parent9e812549883730f559cdd95d0c05419f5bfa3713 (diff)
downloadlinux-7248d1ff0e2199128618a2eb427e798a46deaaf1.tar.bz2
media: vicodec: use 3 bits for the number of components
Use 3 bits for the number of components mask in the fwht header flags Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform')
-rw-r--r--drivers/media/platform/vicodec/codec-fwht.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/vicodec/codec-fwht.h b/drivers/media/platform/vicodec/codec-fwht.h
index 6d230f5e9d60..2984dc772515 100644
--- a/drivers/media/platform/vicodec/codec-fwht.h
+++ b/drivers/media/platform/vicodec/codec-fwht.h
@@ -78,7 +78,7 @@
#define FWHT_FL_ALPHA_IS_UNCOMPRESSED BIT(9)
/* A 4-values flag - the number of components - 1 */
-#define FWHT_FL_COMPONENTS_NUM_MSK GENMASK(17, 16)
+#define FWHT_FL_COMPONENTS_NUM_MSK GENMASK(18, 16)
#define FWHT_FL_COMPONENTS_NUM_OFFSET 16
/*