Skip to content

Commit

Permalink
media: staging: media: cedrus: Fix misuse of GENMASK macro
Browse files Browse the repository at this point in the history
Arguments are supposed to be ordered high then low.

Signed-off-by: Joe Perches <[email protected]>
Acked-by: Paul Kocialkowski <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
JoePerches authored and mchehab committed Jul 25, 2019
1 parent 21a816e commit 9e037bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/media/sunxi/cedrus/cedrus_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
#define VE_DEC_MPEG_MBADDR (VE_ENGINE_DEC_MPEG + 0x10)

#define VE_DEC_MPEG_MBADDR_X(w) (((w) << 8) & GENMASK(15, 8))
#define VE_DEC_MPEG_MBADDR_Y(h) (((h) << 0) & GENMASK(0, 7))
#define VE_DEC_MPEG_MBADDR_Y(h) (((h) << 0) & GENMASK(7, 0))

#define VE_DEC_MPEG_CTRL (VE_ENGINE_DEC_MPEG + 0x14)

Expand Down

0 comments on commit 9e037bd

Please sign in to comment.