]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - drivers/media/platform/vim2m.c
media: vim2m: ensure that width is multiple of two
[mirror_ubuntu-hirsute-kernel.git] / drivers / media / platform / vim2m.c
index 07d7f73b48d414432419bc5a46bd7883dda9b9ed..6bd30ffb0c4afd8600a692f43a81cb88d71b3d8e 100644 (file)
@@ -50,7 +50,7 @@ MODULE_PARM_DESC(default_transtime, "default transaction time in ms");
 #define MIN_H 32
 #define MAX_W 640
 #define MAX_H 480
-#define DIM_ALIGN_MASK 7 /* 8-byte alignment for line length */
+#define DIM_ALIGN_MASK 1 /* 2-byte alignment */
 
 /* Flags that indicate a format can be used for capture/output */
 #define MEM2MEM_CAPTURE        (1 << 0)