16 Jan, 2012

1 commit

  • * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (655 commits)
    [media] revert patch: HDIC HD29L2 DMB-TH USB2.0 reference design driver
    mb86a20s: Add a few more register settings at the init seq
    mb86a20s: Group registers into the same line
    [media] [PATCH] don't reset the delivery system on DTV_CLEAR
    [media] [BUG] it913x-fe fix typo error making SNR levels unstable
    [media] cx23885: Query the CX25840 during enum_input for status
    [media] cx25840: Add support for g_input_status
    [media] rc-videomate-m1f.c Rename to match remote controler name
    [media] drivers: media: au0828: Fix dependency for VIDEO_AU0828
    [media] convert drivers/media/* to use module_platform_driver()
    [media] drivers: video: cx231xx: Fix dependency for VIDEO_CX231XX_DVB
    [media] Exynos4 JPEG codec v4l2 driver
    [media] doc: v4l: selection: choose pixels as units for selection rectangles
    [media] v4l: s5p-tv: mixer: fix setup of VP scaling
    [media] v4l: s5p-tv: mixer: add support for selection API
    [media] v4l: emulate old crop API using extended crop/compose API
    [media] doc: v4l: add documentation for selection API
    [media] doc: v4l: add binary images for selection API
    [media] v4l: add support for selection api
    [media] hd29l2: fix review findings
    ...

    Linus Torvalds
     

11 Jan, 2012

1 commit

  • The af9005_properties and af9015_properties tables make use of USB ids
    from the USB id tables with hardcoded indices, as in
    "&af9015_usb_table[30]". Adding new entries before the end breaks
    such references, so everyone has had to carefully tiptoe to only add
    entries at the end of the list.

    In the spirit of "dw2102: use symbolic names for dw2102_table
    indices", use C99-style initializers with symbolic names for each
    index to avoid this. In the new regime, properties tables referring
    to the USB ids have names like "&af9015_usb_table[CINERGY_T_STICK_RC]"
    that do not change meaning when items in the USB id table are
    reordered.

    Encouraged-by: Mauro Carvalho Chehab

    Signed-off-by: Jonathan Nieder
    Acked-by: Luca Olivetti
    Acked-by: Antti Palosaari
    Signed-off-by: Mauro Carvalho Chehab

    Jonathan Nieder
     

31 Dec, 2011

3 commits


19 Nov, 2011

1 commit

  • This converts the drivers in drivers/media/* to use the
    module_usb_driver() macro which makes the code smaller and a bit
    simpler.

    Added bonus is that it removes some unneeded kernel log messages about
    drivers loading and/or unloading.

    Cc: Mauro Carvalho Chehab
    Cc: Luca Risolia
    Cc: Jean-Francois Moine
    Cc: Frank Zago
    Cc: Olivier Lorin
    Cc: Erik Andren
    Cc: Hans de Goede
    Cc: Brian Johnson
    Cc: Leandro Costantino
    Cc: Antoine Jacquet
    Cc: Jarod Wilson
    Cc: Florian Mickler
    Cc: Antti Palosaari
    Cc: Michael Krufky
    Cc: "David Härdeman"
    Cc: Florent Audebert
    Cc: Sam Doshi
    Cc: Manu Abraham
    Cc: Olivier Grenie
    Cc: Patrick Boettcher
    Cc: "Igor M. Liplianin"
    Cc: Derek Kelly
    Cc: Malcolm Priestley
    Cc: Steven Toth
    Cc: "André Weidemann"
    Cc: Martin Wilks
    Cc: Tejun Heo
    Cc: Jose Alberto Reguero
    Cc: David Henningsson
    Cc: Paul Gortmaker
    Cc: Joe Perches
    Cc: Jesper Juhl
    Cc: Lucas De Marchi
    Cc: Hans Verkuil
    Cc: Alexey Khoroshilov
    Cc: Anssi Hannula
    Cc: Rafi Rubin
    Cc: Dan Carpenter
    Cc: Paul Bender
    Cc: Devin Heitmueller
    Cc: "Márcio A Alves"
    Cc: Julia Lawall
    Cc: Laurent Pinchart
    Cc: Chris Rankin
    Cc: Lee Jones
    Cc: Andy Walls
    Cc: Andrew Morton
    Cc: Mike Frysinger
    Cc: Dean Anderson
    Cc: Pete Eberlein
    Cc: Arvydas Sidorenko
    Cc: Andrea Anacleto
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

07 Sep, 2011

1 commit


27 Aug, 2011

2 commits


31 Jul, 2011

1 commit


28 Jul, 2011

7 commits


22 Mar, 2011

4 commits

  • Split FW download packages smarter way and bug free. Implementation is
    based of Andrea Merello's example he provided for tda18218 driver.
    Count remaining FW bytes down in loop instead of division and modulo
    combination used earlier.

    Thanks-to: Andrea Merello
    Signed-off-by: Antti Palosaari
    Cc: Andrea Merello
    Signed-off-by: Mauro Carvalho Chehab

    Antti Palosaari
     
  • Map rc-terratec-slim-2 for TerraTec Cinergy T Stick RC device.

    Signed-off-by: Antti Palosaari
    Cc: Martin Groszhauser
    Cc: TerraTux
    Signed-off-by: Mauro Carvalho Chehab

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

    Antti Palosaari
     
  • Patch from Ian Armstrong.

    I've encountered a couple of problems with the current af9015 driver as
    supplied with the 2.6.37 kernel, that the attached patch appears to fix. (I've
    generated this patch against the current v4l-dvb git).

    Some key-presses are lost. A key-press is only generated upon 'valid' data
    (buf[14] == (u8) ~buf[15]), but the buffer is wiped before this check.
    Sometimes the 15th byte has not been set at the time of read, so the data
    isn't valid & ignored. On the next poll the 15th byte has been set, but the
    rest of the data was wiped previously, so the data is still invalid & the key
    is lost.

    Weird repeat error, where an old key press is sometimes repeated in error. ie.
    button sequence '1 (pause) 2 (pause) 3 (pause) 4' generates output like '1
    (pause) 2 (pause) 23 (pause) 4'. The current driver zeroes the data for the
    key pushed, but sometimes this data is already zero but with other bytes set
    suggesting a repeat code. This results in the last key being incorrectly
    repeated.

    This patch attempts to reduce the risk of a missed key-press & also stop the
    random repeat of an old key-press when a new key is pressed.

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

    Ian Armstrong
     

29 Dec, 2010

3 commits

  • for i in `find drivers/staging -type f -name *.[ch]` `find include/media -type f -name *.[ch]` `find drivers/media -type f -name *.[ch]`; do sed s,IR_TYPE,RC_TYPE,g a && mv a $i; done
    for i in `find drivers/staging -type f -name *.[ch]` `find include/media -type f -name *.[ch]` `find drivers/media -type f -name *.[ch]`; do sed s,ir_type,rc_type,g a && mv a $i; done

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • Those functions are not InfraRed specific. So, rename them to properly
    reflect it.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • This patch merges the ir_input_dev and ir_dev_props structs into a single
    struct called rc_dev. The drivers and various functions in rc-core used
    by the drivers are also changed to use rc_dev as the primary interface
    when dealing with rc-core.

    This means that the input_dev is abstracted away from the drivers which
    is necessary if we ever want to support multiple input devs per rc device.

    The new API is similar to what the input subsystem uses, i.e:
    rc_device_alloc()
    rc_device_free()
    rc_device_register()
    rc_device_unregister()

    [mchehab@redhat.com: Fix compilation on mceusb and cx231xx, due to merge conflicts]
    Signed-off-by: David Härdeman
    Acked-by: Jarod Wilson
    Tested-by: Jarod Wilson
    Signed-off-by: Mauro Carvalho Chehab

    David Härdeman
     

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
     

23 Oct, 2010

3 commits


21 Oct, 2010

12 commits