uvcvideo: Fix a wrong macro
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 12 Dec 2016 11:16:51 +0000 (09:16 -0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 7 Jun 2017 22:47:01 +0000 (00:47 +0200)
commit0259f8b800e641bf760164f340796019bdc8a6bb
tree62cf737605f0980a7f6adf85a15b857dd415d74d
parent9dc2420f7d76f0ee002e22c7135bfcb1066e492c
uvcvideo: Fix a wrong macro

commit 17c341ec0115837a610b2da15e32546e26068234 upstream.

Don't mix up UVC_BUF_STATE_* and VB2_BUF_STATE_* codes.

Fixes: 6998b6fb4b1c ("[media] uvcvideo: Use videobuf2-vmalloc")

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@intel.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/media/usb/uvc/uvc_queue.c