19 Oct, 2011

1 commit


22 Sep, 2011

6 commits

  • The following build error occurs with 3.1-rc5:

    CC drivers/media/video/omap3isp/ispccdc.o

    This patch adds the missing 'linux/slab.h' include to fix the problem.

    Signed-off-by: Joerg Roedel
    Acked-by: Laurent Pinchart
    Signed-off-by: Mauro Carvalho Chehab

    Joerg Roedel
     
  • The uvc_mc_register_entity() function wrongfully selects the
    media_entity associated with a UVC entity when creating links. This
    results in access to uninitialized media_entity structures and can hit a
    BUG_ON statement in media_entity_create_link(). Fix it.

    Signed-off-by: Laurent Pinchart
    Signed-off-by: Mauro Carvalho Chehab

    Laurent Pinchart
     
  • v4l2_device_disconnect() calls dev_get_drvdata() and dev_set_drvdata()
    on the device it received in v4l2_device_register(). Get a reference to
    the device in v4l2_device_register() to make sure it won't disappear as
    long as we need it.

    Reported-by: Sitsofe Wheeler
    Signed-off-by: Dave Young
    Tested-by: Sitsofe Wheeler
    Acked-by: Laurent Pinchart
    Signed-off-by: Mauro Carvalho Chehab

    Dave Young
     
  • Drivers that have no v4l2_device release callback might free the
    v4l2_device instance in the video_device release callback. Make sure we
    don't access the v4l2_device instance after it gets freed.

    Signed-off-by: Laurent Pinchart
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     
  • If the bus has been reset on resume, set the alternate setting to 0.
    This should be the default value, but some devices crash or otherwise
    misbehave if they don't receive a SET_INTERFACE request before any other
    video control request.

    Microdia's 0c45:6437 camera has been found to require this change or it
    will stop sending video data after resume.

    uvc_video.c]

    Signed-off-by: Ming Lei
    Signed-off-by: Laurent Pinchart
    Signed-off-by: Mauro Carvalho Chehab

    Ming Lei
     
  • The DSS2 driver does not support the configuration of the update_mode of a
    panel anymore. Remove the setting of update_mode done in omap_vout_probe().
    Ignore configuration of TE since omap_vout driver doesn't support manual update
    displays anyway.

    Signed-off-by: Archit Taneja
    Tested-by: Koen Kooi
    Signed-off-by: Vaibhav Hiremath
    Signed-off-by: Mauro Carvalho Chehab

    archit taneja
     

11 Sep, 2011

5 commits


30 Jul, 2011

1 commit

  • * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (430 commits)
    [media] ir-mce_kbd-decoder: include module.h for its facilities
    [media] ov5642: include module.h for its facilities
    [media] em28xx: Fix DVB-C maxsize for em2884
    [media] tda18271c2dd: Fix saw filter configuration for DVB-C @6MHz
    [media] v4l: mt9v032: Fix Bayer pattern
    [media] V4L: mt9m111: rewrite set_pixfmt
    [media] V4L: mt9m111: fix missing return value check mt9m111_reg_clear
    [media] V4L: initial driver for ov5642 CMOS sensor
    [media] V4L: sh_mobile_ceu_camera: fix Oops when USERPTR mapping fails
    [media] V4L: soc-camera: remove soc-camera bus and devices on it
    [media] V4L: soc-camera: un-export the soc-camera bus
    [media] V4L: sh_mobile_csi2: switch away from using the soc-camera bus notifier
    [media] V4L: add media bus configuration subdev operations
    [media] V4L: soc-camera: group struct field initialisations together
    [media] V4L: soc-camera: remove now unused soc-camera specific PM hooks
    [media] V4L: pxa-camera: switch to using standard PM hooks
    [media] NetUP Dual DVB-T/C CI RF: force card hardware revision by module param
    [media] Don't OOPS if videobuf_dvb_get_frontend return NULL
    [media] NetUP Dual DVB-T/C CI RF: load firmware according card revision
    [media] omap3isp: Support configurable HS/VS polarities
    ...

    Fix up conflicts:
    - arch/arm/mach-omap2/board-rx51-peripherals.c:
    cleanup regulator supply definitions in mach-omap2
    vs
    OMAP3: RX-51: define vdds_csib regulator supply
    - drivers/staging/tm6000/tm6000-alsa.c (trivial)

    Linus Torvalds
     

29 Jul, 2011

2 commits

  • drivers/media/video/ov5642.c:985:1: warning: data definition has no type or storage class
    drivers/media/video/ov5642.c:985:1: warning: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE'
    drivers/media/video/ov5642.c:985:1: warning: parameter names (without types) in function declaration
    drivers/media/video/ov5642.c: In function 'ov5642_mod_init':
    drivers/media/video/ov5642.c:998:9: error: 'THIS_MODULE' undeclared (first use in this function)
    drivers/media/video/ov5642.c:998:9: note: each undeclared identifier is reported only once for each function it appears in
    drivers/media/video/ov5642.c: At top level:
    drivers/media/video/ov5642.c:1009:20: error: expected declaration specifiers or '...' before string constant
    drivers/media/video/ov5642.c:1009:1: warning: data definition has no type or storage class
    drivers/media/video/ov5642.c:1009:1: warning: type defaults to 'int' in declaration of 'MODULE_DESCRIPTION'
    drivers/media/video/ov5642.c:1009:20: warning: function declaration isn't a prototype
    drivers/media/video/ov5642.c:1010:15: error: expected declaration specifiers or '...' before string constant
    drivers/media/video/ov5642.c:1010:1: warning: data definition has no type or storage class
    drivers/media/video/ov5642.c:1010:1: warning: type defaults to 'int' in declaration of 'MODULE_AUTHOR'
    drivers/media/video/ov5642.c:1010:15: warning: function declaration isn't a prototype
    drivers/media/video/ov5642.c:1011:16: error: expected declaration specifiers or '...' before string constant
    drivers/media/video/ov5642.c:1011:1: warning: data definition has no type or storage class
    drivers/media/video/ov5642.c:1011:1: warning: type defaults to 'int' in declaration of 'MODULE_LICENSE'
    drivers/media/video/ov5642.c:1011:16: warning: function declaration isn't a prototype
    drivers/media/video/ov5642.c: In function 'ov5642_mod_init':
    drivers/media/video/ov5642.c:999:1: warning: control reaches end of non-void function

    Signed-off-by: Stephen Rothwell
    Signed-off-by: Mauro Carvalho Chehab

    Stephen Rothwell
     
  • The logic at em28xx_isoc_dvb_max_packetsize() sucks, at least for newer
    the needed packet size. Yet, it is better than nothing.

    Rewrite the code in order to change the default to 752 for em2884 and
    newer chips and provide a better way to handle per-chipset specifics.

    For em2874, the current default should be enough, as the only em2874
    board is currently a 1-seg ISDB-T board, so, it needs only a limited
    amount of bandwidth.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     

28 Jul, 2011

25 commits