lkml.org 
[lkml]   [2015]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.18 112/183] [media] vivid: fix CROP_BOUNDS typo for video output
    Date
    3.18-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Hans Verkuil <hverkuil@xs4all.nl>

    commit bb9ff078860f9d2f79d3a6bea3af9f48354ddb75 upstream.

    An error was returned if composing was not supported, instead of if
    cropping was not supported.

    A classic copy-and-paste bug. Found with v4l2-compliance.

    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    drivers/media/platform/vivid/vivid-vid-out.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/media/platform/vivid/vivid-vid-out.c
    +++ b/drivers/media/platform/vivid/vivid-vid-out.c
    @@ -612,7 +612,7 @@ int vivid_vid_out_g_selection(struct fil
    sel->r = dev->fmt_out_rect;
    break;
    case V4L2_SEL_TGT_CROP_BOUNDS:
    - if (!dev->has_compose_out)
    + if (!dev->has_crop_out)
    return -EINVAL;
    sel->r = vivid_max_rect;
    break;



    \
     
     \ /
      Last update: 2015-01-25 20:01    [W:8.547 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site