28 Oct, 2010

1 commit

  • Changeset 1724c8fa7eb33d68898e060a08a8e6a88348b62f added an option to change
    the maximum I2C size to 8 bytes. However, it forgot to replace the previous
    usage at af9015 to use the newly defined macro value
    (TDA18271_16_BYTE_CHUNK_INIT).

    A latter changeset (e350d44fed8eb86a7192a579e3687fcd76a4645b) extended the
    possible values for .small_i2c field and, instead of using a random sequence
    of numbers, it used a number that makes more sense (e. g. the actual limit,
    in terms of bytes).

    However, as af9015 were using .small_i2c = 1, this become undefined, and the
    restriction of a max size of 16 was gone.

    While here, fix the reported msg size at tda18271-common.c.

    Reported-by: Jiri Slaby
    Tested-by: Jiri Slaby
    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     

26 Oct, 2010

2 commits

  • Few drivers still have assumption that ir_raw_event
    consists of duration and pulse flag.
    Fix that.

    Signed-off-by: Maxim Levitsky
    Signed-off-by: Mauro Carvalho Chehab

    Maxim Levitsky
     
  • Hi,
    I managed to trigger a divide by 0 in the v4l compat code
    with the mem2mem test module; I suspect perhaps it shouldn't
    have been returning a 0 pixel wide picture, but either way it seems
    right to guard this divide by 0 in the compatibility layer.

    Tested on 2.6.36 (ubuntu build, but the code in this is the same as upstream),
    but ***not tested with a real video device***.

    Signed-off-by: Dr. David Alan Gilbert
    cc: stable.kernel.org
    Signed-off-by: Mauro Carvalho Chehab

    Dr. David Alan Gilbert
     

24 Oct, 2010

3 commits


23 Oct, 2010

34 commits

  • Force smbus communication, disable QCIF mode, and set the correct
    clock speed on the OLPC XO-1.

    Signed-off-by: Daniel Drake
    Acked-by: Jonathan Corbet
    Signed-off-by: Mauro Carvalho Chehab

    Daniel Drake
     
  • These parameters need to be configurable based on the host system.
    They can now be communicated through the s_config call.

    The old CONFIG_OLPC_XO_1 selector was not correct; this kind of
    arrangement wouldn't allow for a universal kernel that would work on both
    laptops.

    Certain parts of the probe routine had to be moved later (into s_config),
    because we can't do any I/O until we know which I/O method has been
    selected through this mechanism.

    Signed-off-by: Daniel Drake
    Acked-by: Jonathan Corbet
    Signed-off-by: Mauro Carvalho Chehab

    Daniel Drake
     
  • It is AF9015+AF9013+2xMXL5007T.

    Tanks to Bernard Giannetti and DigitalNow for the help!

    Signed-off-by: Antti Palosaari
    Cc: Renura Enterprises Pty Ltd
    Cc: Bernard Giannetti
    Signed-off-by: Mauro Carvalho Chehab

    Antti Palosaari
     
  • Signed-off-by: Antti Palosaari
    Cc: Renura Enterprises Pty Ltd
    Signed-off-by: Mauro Carvalho Chehab

    Antti Palosaari
     
  • Signed-off-by: Antti Palosaari
    Cc: Renura Enterprises Pty Ltd
    Signed-off-by: Mauro Carvalho Chehab

    Antti Palosaari
     
  • Read all remote controller registers at once to reduce USB remote polling traffic.
    Use .rc_codes() to disable / enable remote polling instead of .rc_query().

    Signed-off-by: Antti Palosaari
    Signed-off-by: Mauro Carvalho Chehab

    Antti Palosaari
     
  • Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • Document all four 10-bit Bayer formats, 10-bit monochrome and a missing
    8-bit Bayer formats.

    create mode 100644 Documentation/DocBook/v4l/pixfmt-srggb10.xml
    create mode 100644 Documentation/DocBook/v4l/pixfmt-srggb8.xml
    create mode 100644 Documentation/DocBook/v4l/pixfmt-y10.xml

    [mchehab@redhat.com: remove duplicated symbol for V4L2-PIX-FMT-SGRBG10 and added the corresponding entries at media-entities.tmpl]
    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mauro Carvalho Chehab

    Guennadi Liakhovetski
     
  • Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • The Digital Everywhere firmware have the shortcoming that ca_info_enq and
    ca_info are not supported. This means that we can never retrieve the correct
    ca_system_id to present in the CI message CA_INFO. Currently the driver uses
    the application id retrieved using app_info_req and app_info, but this id
    only match the correct ca_system_id as given in ca_info in some cases.
    This patch adds a parameter to the driver in order for the user to override
    what will be returned in the CA_INFO CI message. Up to four ca_system_ids can
    be specified.
    This is needed for users with CAMs that have different manufacturer id and
    ca_system_id and that uses applications that take this into account, like
    MythTV.

    Signed-off-by: Henrik Kurelid
    Signed-off-by: Stefan Richter
    Signed-off-by: Mauro Carvalho Chehab

    Henrik Kurelid
     
  • This is a patch to the tm6000-core.c file that fixed up a macros error
    and error initialise statics to 0 found by the checkpatch.pl tools.

    [mchehab@redhat.com: removed a merge conflict and add spaces between binary operator]
    Signed-off-by: Ruslan Pisarev
    Signed-off-by: Mauro Carvalho Chehab

    Ruslan Pisarev
     
  • Those time debugs were here just while developing the driver. They are
    not really needed, as kernel may be configured to print jiffies with
    printk's. Also, it breaks, if more than one device is connected.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • This patch adds audio DMA capture and ALSA mixer elements for the line
    input jack of the Hauppauge Nova-S-plus DVB-S PCI card. The Nova-S-plus
    has a WM8775 ADC that is currently not detected. This patch enables
    this chip and exports volume, balance mute and ALC elements for ALSA
    mixer controls.

    [mchehab@redhat.com: Fix CodingStyle issues]
    Signed-off-by: Lawrence Rust
    Signed-off-by: Mauro Carvalho Chehab

    lawrence rust
     
  • Signed-off-by: Mauro Carvalho Chehab

    Matti Aaltonen
     
  • Add a couple of words about the spacing field in the HW seek struct,
    also a few words about the new RDS tuner capability flags
    V4L2_TUNER_CAP_RDS_BLOCK-IO and V4L2_TUNER_CAP_RDS_CONTROLS.

    Signed-off-by: Matti J. Aaltonen
    Acked-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Matti Aaltonen
     
  • - serialize the suspend and resume functions using the global lock.
    - do not call usb_autopm_put_interface after a disconnect.
    - fix a race when disconnecting the device.

    Reported-by: David Ellingsworth
    Signed-off-by: Hans Verkuil
    Acked-by: David Ellingsworth
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     
  • Use the standard error logging mechanisms.
    Add #define pr_fmt(fmt) KBUILD_MODNAME ":%s" fmt, __func__
    Remove __func__ from err calls, add '\n', rename to pr_err

    Signed-off-by: Joe Perches
    Acked-by: Jarod Wilson
    Signed-off-by: Mauro Carvalho Chehab

    Joe Perches
     
  • Indent the branch of an if.

    The semantic match that finds this problem is as follows:
    (http://coccinelle.lip6.fr/)

    //
    @r disable braces4@
    position p1,p2;
    statement S1,S2;
    @@

    (
    if (...) { ... }
    |
    if (...) S1@p1 S2@p2
    )

    @script:python@
    p1 << r.p1;
    p2 << r.p2;
    @@

    if (p1[0].column == p2[0].column):
    cocci.print_main("branch",p1)
    cocci.print_secs("after",p2)
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Mauro Carvalho Chehab

    Julia Lawall
     
  • These include
    -later kill of usb_buffer to avoid kernel crash on hot unplugging.
    -DiSEqC functions.
    -LNB Power switch
    -Faster channel change.
    -support for LG tuner on LME2510C.
    -firmware switching for LG tuner.

    Signed-off-by: Malcolm Priestley
    Signed-off-by: Mauro Carvalho Chehab

    Malcolm Priestley
     
  • > From: Dan Carpenter [mailto:error27@gmail.com]
    >
    > These are signed so instead of being 1 and 0 as intended they are -1 and
    > 0. It doesn't cause a bug in the current code but Sparse warns about
    > it:
    >
    > drivers/media/video/s5p-fimc/fimc-core.h:226:28:
    > error: dubious one-bit signed bitfield
    > struct fimc_scaler {
    > - int scaleup_h:1;
    > - int scaleup_v:1;
    > - int copy_mode:1;
    > - int enabled:1;
    > + unsigned int scaleup_h:1;
    > + unsigned int caleup_v:1;
    > + unsigned int copy_mode:1;
    > + unsigned int enabled:1;

    In general I agree, however this patch would change scaleup_v:1
    to caleup_v, so it cannot be applied in current form.
    Here is the corrected patch:

    Reported-by: Dan Carpenter <
    Signed-off-by: Sylwester Nawrocki
    Signed-off-by: Mauro Carvalho Chehab

    Sylwester Nawrocki
     
  • There was an unlock missing if kzalloc() failed.

    Signed-off-by: Dan Carpenter
    Acked-by: Sylwester Nawrocki
    Signed-off-by: Mauro Carvalho Chehab

    Dan Carpenter
     
  • With the v4l2_i2c_new_subdev* functions now supporting loading modules
    based on modaliases, replace the hardcoded module name passed to those
    functions by NULL.

    The sub-devices without a listed module name don't result in and I2C
    sub-device being created, as they either are IR devices or don't have an
    I2C address listed. It's thus safe to rely on modaliases only.

    All corresponding I2C modules have been checked, and all of them include
    a module aliases table with names corresponding to what the cx18 driver
    uses.

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

    Laurent Pinchart
     
  • With the v4l2_i2c_new_subdev* functions now supporting loading modules
    based on modaliases, replace the hardcoded module name passed to those
    functions by NULL.

    The sub-devices without a listed module name don't result in and I2C
    sub-device being created, as they either are IR devices or don't have an
    I2C address listed. It's thus safe to rely on modaliases only.

    All corresponding I2C modules have been checked, and all of them include
    a module aliases table with names corresponding to what the ivtv driver
    uses.

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

    Laurent Pinchart
     
  • With the v4l2_i2c_new_subdev* functions now supporting loading modules
    based on modaliases, don't use the module names hardcoded in platform
    data by passing a NULL module name to those functions.

    The only platform using the VPIF capture device (DM646x EVM) hardcodes
    the module names to invalid values (tvp514x-0 and tvp514x-1). As this is
    already broken, there's no risk of breaking it more.

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

    Laurent Pinchart
     
  • With the v4l2_i2c_new_subdev* functions now supporting loading modules
    based on modaliases, don't use the module names hardcoded in platform
    data by passing a NULL module name to those functions.

    All corresponding I2C modules have been checked, and all of them include
    a module aliases table with names corresponding to what the vpif_display
    platform data uses.

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

    Laurent Pinchart
     
  • With the v4l2_i2c_new_subdev* functions now supporting loading modules
    based on modaliases, don't use the module names hardcoded in platform
    data by passing a NULL module name to those functions.

    All corresponding I2C modules have been checked, and all of them include
    a module aliases table with names corresponding to what the vpfe_capture
    platform data uses.

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

    Laurent Pinchart
     
  • With the v4l2_i2c_new_subdev* functions now supporting loading modules
    based on modaliases, remove the module names hardcoded in platform data
    and pass a NULL module name to those functions.

    All corresponding I2C modules have been checked, and all of them include
    a module aliases table with names corresponding to what the soc_camera
    platform data uses.

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

    Laurent Pinchart
     
  • With the v4l2_i2c_new_subdev* functions now supporting loading modules
    based on modaliases, replace the hardcoded module name passed to those
    functions by NULL.

    As no board seems to use this driver, no platform data has been checked.

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

    Laurent Pinchart
     
  • With the v4l2_i2c_new_subdev* functions now supporting loading modules
    based on modaliases, remove the module names hardcoded in platform data
    and pass a NULL module name to those functions.

    All corresponding I2C modules have been checked, and all of them include
    a module aliases table with names corresponding to what the sh_vou
    platform data uses.

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

    Laurent Pinchart
     
  • With the v4l2_i2c_new_subdev* functions now supporting loading modules
    based on modaliases, replace the hardcoded module name passed to those
    functions by NULL.

    All corresponding I2C modules have been checked, and all of them include
    a module aliases table with names corresponding to what the pvrusb2
    driver uses.

    Signed-off-by: Laurent Pinchart
    Acked-By: Mike Isely
    Signed-off-by: Mauro Carvalho Chehab

    Laurent Pinchart
     
  • With the v4l2_i2c_new_subdev* functions now supporting loading modules
    based on modaliases, replace the hardcoded module name passed to those
    functions by NULL.

    All corresponding I2C modules have been checked, and all of them include
    a module aliases table with names corresponding to what the zoran driver
    uses.

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

    Laurent Pinchart
     
  • With the v4l2_i2c_new_subdev* functions now supporting loading modules
    based on modaliases, replace the hardcoded module name passed to those
    functions by NULL.

    All corresponding I2C modules have been checked, and all of them include
    a module aliases table with names corresponding to what the go7007
    driver uses.

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

    Laurent Pinchart
     
  • The TW2804 I2C sub-device type name was incorrectly set to wis_twTW2804
    for the adlink mpg24 board. Rename it to wis_tw2804.

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

    Laurent Pinchart
     
  • The device table is required to load modules based on modaliases.

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

    Laurent Pinchart