V4L/DVB (8905): ov511: fix exposure sysfs attribute bug

Exposure was always 0. Thanks to sparse for finding this.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by Hans Verkuil and committed by Mauro Carvalho Chehab 92762abc 135aedc3

+1 -1
+1 -1
drivers/media/video/ov511.c
··· 5653 5653 if (!ov->dev) 5654 5654 return -ENODEV; 5655 5655 sensor_get_exposure(ov, &exp); 5656 - return sprintf(buf, "%d\n", exp >> 8); 5656 + return sprintf(buf, "%d\n", exp); 5657 5657 } 5658 5658 static DEVICE_ATTR(exposure, S_IRUGO, show_exposure, NULL); 5659 5659