]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/gspca/gspca.c
V4L/DVB (11387): Sensor orientation reporting
[linux-2.6-omap-h63xx.git] / drivers / media / video / gspca / gspca.c
index a75c1ca2db41d05953c8d9c6cba9c8ddc3701861..a2741d7dccfeca4696c0167fce5b317f5eba7e56 100644 (file)
@@ -1132,6 +1132,7 @@ static int vidioc_enum_input(struct file *file, void *priv,
        if (input->index != 0)
                return -EINVAL;
        input->type = V4L2_INPUT_TYPE_CAMERA;
+       input->status = gspca_dev->cam.input_flags;
        strncpy(input->name, gspca_dev->sd_desc->name,
                sizeof input->name);
        return 0;