modetest: fix the arguments of the MAKE_RGB_INFO define

The current order (rbg) seems wrong.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
[Emil Velikov: Tweak the commit message.]
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
main
Joonyoung Shim 2015-04-17 13:13:59 +09:00 committed by Emil Velikov
parent 30921483c7
commit b091ecdbf9
1 changed files with 2 additions and 2 deletions

View File

@ -98,8 +98,8 @@ struct format_info {
const struct yuv_info yuv;
};
#define MAKE_RGB_INFO(rl, ro, bl, bo, gl, go, al, ao) \
.rgb = { { (rl), (ro) }, { (bl), (bo) }, { (gl), (go) }, { (al), (ao) } }
#define MAKE_RGB_INFO(rl, ro, gl, go, bl, bo, al, ao) \
.rgb = { { (rl), (ro) }, { (gl), (go) }, { (bl), (bo) }, { (al), (ao) } }
#define MAKE_YUV_INFO(order, xsub, ysub, chroma_stride) \
.yuv = { (order), (xsub), (ysub), (chroma_stride) }