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
     

28 Jul, 2011

7 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    sound: oss: rename local change_bits to avoid powerpc bitsops.h definition
    ALSA: hda - Fix duplicated DAC assignments for Realtek
    ALSA: asihpi - off by one in asihpi_hpi_ioctl()
    ALSA: hda - Fix Oops with Realtek quirks with NULL adc_nids
    ALSA: asihpi - bug fix pa use before init.
    ALSA: hda - Add support for vref-out based mute LED control on IDT codecs

    Linus Torvalds
     
  • Remove empty and useless g_input and s_input ioctls.
    This fixes one fail of v4l2-compliance test.

    Signed-off-by: Ondrej Zary
    Signed-off-by: Mauro Carvalho Chehab

    Ondrej Zary
     
  • Change locking to allow tea575x-radio device to be opened multiple times.

    Signed-off-by: Ondrej Zary
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Ondrej Zary
     
  • Convert radio-sf16fmr2 to use generic TEA575x implementation. Most of the
    driver code goes away as SF16-FMR2 is basically just a TEA5757 tuner
    connected to ISA bus.
    The card can optionally be equipped with PT2254A volume control (equivalent
    of TC9154AP) - the volume setting is completely reworked (with balance control
    added) and tested.

    Signed-off-by: Ondrej Zary
    Acked-by: Takashi Iwai
    Signed-off-by: Mauro Carvalho Chehab

    Ondrej Zary
     
  • Convert tea575x-tuner to use the new V4L2 control framework. Also add
    ext_init() callback that can be used by a card driver for additional
    initialization right before registering the video device (for SF16-FMR2).

    Also embed struct video_device to struct snd_tea575x to simplify the code.

    Signed-off-by: Ondrej Zary
    Acked-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Ondrej Zary
     
  • This collides with powerpc exported functions from bitops.h. Rename the
    local copy in the oss soundblaster mixer and ad1848 driver.

    Signed-off-by: Andy Whitcroft
    Signed-off-by: Takashi Iwai

    Andy Whitcroft
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (22 commits)
    ALSA: hda - Cirrus Logic CS421x support
    ALSA: Make pcm.h self-contained
    ALSA: hda - Allow codec-specific set_power_state ops
    ALSA: hda - Add post_suspend patch ops
    ALSA: hda - Make CONFIG_SND_HDA_POWER_SAVE depending on CONFIG_PM
    ALSA: hda - Make sure mute led reflects master mute state
    ALSA: hda - Fix invalid mute led state on resume of IDT codecs
    ASoC: Revert "ASoC: SAMSUNG: Add I2S0 internal dma driver"
    ALSA: hda - Add support of the 4 internal speakers on certain HP laptops
    ALSA: Make snd_pcm_debug_name usable outside pcm_lib
    ALSA: hda - Fix DAC filling for multi-connection pins in Realtek parser
    ASoC: dapm - Add methods to retrieve snd_card and soc_card from dapm context.
    ASoC: SAMSUNG: Add I2S0 internal dma driver
    ASoC: SAMSUNG: Modify I2S driver to support idma
    ASoC: davinci: add missing break statement
    ASoC: davinci: fix codec start and stop functions
    ASoC: dapm - add DAPM macro for external enum widgets
    ASoC: Acknowledge WM8962 interrupts before acting on them
    ASoC: sgtl5000: guide user when regulator support is needed
    ASoC: sgtl5000: refactor registering internal ldo
    ...

    Linus Torvalds
     

27 Jul, 2011

9 commits

  • Copying hp_pins and speaker_pins from line_out_pins may confuse the
    parser, and it can lead to duplicated initializations for the same pin
    with a wrong DAC assignment. The problem appears in 3.0 kernel code.

    Cc: (for 3.0)
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • "adapter" is used as an array index in the adapters[] array so
    the off by one would make us read past the end.

    1c073b67979 "ALSA: asihpi - Remove spurious adapter index check"
    reverted Dan Rosenberg's check that would have prevented the
    overflow here.

    Signed-off-by: Dan Carpenter
    Signed-off-by: Takashi Iwai

    Dan Carpenter
     
  • Somce quirk models don't set adc_nids but let the parser filling it.
    But the recent code has unnecessary NULL-checks of spec->input_mux,
    and it resulted in NULL dereferences.
    This patch fixes that regression.

    Reported-and-tested-by: Oliver Neukum
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Fixes bug introduced by 1c073b67.
    Also declare pa local to block in which it is used.

    Signed-off-by: Eliot Blennerhassett
    Signed-off-by: Takashi Iwai

    Eliot Blennerhassett
     
  • This patch also registers all necessary callbacks to support mute LED
    only when such control is enabled. And it keeps codec AFG in D0 or D1
    state all the time when aggressive power managemnt is enabled for vref-out
    control (and mute LED) work correctly.

    Signed-off-by: Vitaliy Kulikov
    Signed-off-by: Takashi Iwai

    Vitaliy Kulikov
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6:
    merge fchmod() and fchmodat() guts, kill ancient broken kludge
    xfs: fix misspelled S_IS...()
    xfs: get rid of open-coded S_ISREG(), etc.
    vfs: document locking requirements for d_move, __d_move and d_materialise_unique
    omfs: fix (mode & S_IFDIR) abuse
    btrfs: S_ISREG(mode) is not mode & S_IFREG...
    ima: fmode_t misspelled as mode_t...
    pci-label.c: size_t misspelled as mode_t
    jffs2: S_ISLNK(mode & S_IFMT) is pointless
    snd_msnd ->mode is fmode_t, not mode_t
    v9fs_iop_get_acl: get rid of unused variable
    vfs: dont chain pipe/anon/socket on superblock s_inodes list
    Documentation: Exporting: update description of d_splice_alias
    fs: add missing unlock in default_llseek()

    Linus Torvalds
     
  • * 'next/devel2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc: (47 commits)
    OMAP: Add debugfs node to show the summary of all clocks
    OMAP2+: hwmod: Follow the recommended PRCM module enable sequence
    OMAP2+: clock: allow per-SoC clock init code to prevent clockdomain calls from clock code
    OMAP2+: clockdomain: Add per clkdm lock to prevent concurrent state programming
    OMAP2+: PM: idle clkdms only if already in idle
    OMAP2+: clockdomain: add clkdm_in_hwsup()
    OMAP2+: clockdomain: Add 2 APIs to control clockdomain from hwmod framework
    OMAP: clockdomain: Remove redundant call to pwrdm_wait_transition()
    OMAP4: hwmod: Introduce the module control in hwmod control
    OMAP4: cm: Add two new APIs for modulemode control
    OMAP4: hwmod data: Add modulemode entry in omap_hwmod structure
    OMAP4: hwmod data: Add PRM context register offset
    OMAP4: prm: Remove deprecated functions
    OMAP4: prm: Replace warm reset API with the offset based version
    OMAP4: hwmod: Replace RSTCTRL absolute address with offset macros
    OMAP: hwmod: Wait the idle status to be disabled
    OMAP4: hwmod: Replace CLKCTRL absolute address with offset macros
    OMAP2+: hwmod: Init clkdm field at boot time
    OMAP4: hwmod data: Add clock domain attribute
    OMAP4: clock data: Add missing divider selection for auxclks
    ...

    Linus Torvalds
     
  • This allows us to move duplicated code in
    (atomic_inc_not_zero() for now) to

    Signed-off-by: Arun Sharma
    Reviewed-by: Eric Dumazet
    Cc: Ingo Molnar
    Cc: David Miller
    Cc: Eric Dumazet
    Acked-by: Mike Frysinger
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arun Sharma
     
  • we put FMODE_... in there

    Signed-off-by: Al Viro

    Al Viro
     

26 Jul, 2011

10 commits

  • Takashi Iwai
     
  • This update includes the changes necessary for supporting the
    CS421x family of codecs. Previously this file only supported
    the CS420x family of codecs.

    This file also contains init verbs to correct several issues in
    the CS421x hardware.

    Behavior between the CS421x and CS420x codec families is similar,
    so several functions have been reused with "if" statements to
    determine which codec family (CS421x or CS420x) is present.

    Also, this file will be updated sometime in the near future in
    order to add support for a system using CS421x that requires
    mono mix on the speaker output only.

    [Fix const usages and adaption for new APIs by tiwai]

    Signed-off-by: Tim Howe
    Signed-off-by: Takashi Iwai

    Tim Howe
     
  • The procedure for codec D-state change may have exceptional cases
    depending on the codec chip, such as a longer delay or suppressing D3.

    This patch adds a new codec ops, set_power_state() to override the system
    default function. For ease of porting, snd_hda_codec_set_power_to_all()
    helper function is extracted from the default set_power_state() function.

    As an example, the Conexant codec-specific delay is removed from the
    default routine but moved to patch_conexant.c.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Add a new ops, post_suspend(), which is called after suspend() ops is
    performed. This is called only in the case of the real PM suspend, and
    the codec driver can use this for further changing of D-state or
    clearing the LED, etc.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • It makes little sense to enable power-saving without PM.
    This removes SND_HDA_NEEDS_RESUME define so that we can use CONFIG_PM
    in all places.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • This patch adds checking of mute state on all outputs besides just
    speakers to calculate the master mute state for mute led support.
    It also renames and splits the function that does it for better code
    clarity.

    Signed-off-by: Vitaliy Kulikov
    Signed-off-by: Takashi Iwai

    Vitaliy Kulikov
     
  • Codec state is not restored immediately on resume but on the first
    access when power-save is enabled. That leads to an invalid mute led
    state after resume until either sound is played or some control is
    changed. This patch adds a possibility for a vendor specific patch to
    restore codec state immediately after resume if required. And it adds
    code to restore IDT codecs state immediately on resume on HP systems
    with mute led support.

    Signed-off-by: Vitaliy Kulikov
    Signed-off-by: Takashi Iwai

    Vitaliy Kulikov
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (43 commits)
    fs: Merge split strings
    treewide: fix potentially dangerous trailing ';' in #defined values/expressions
    uwb: Fix misspelling of neighbourhood in comment
    net, netfilter: Remove redundant goto in ebt_ulog_packet
    trivial: don't touch files that are removed in the staging tree
    lib/vsprintf: replace link to Draft by final RFC number
    doc: Kconfig: `to be' -> `be'
    doc: Kconfig: Typo: square -> squared
    doc: Konfig: Documentation/power/{pm => apm-acpi}.txt
    drivers/net: static should be at beginning of declaration
    drivers/media: static should be at beginning of declaration
    drivers/i2c: static should be at beginning of declaration
    XTENSA: static should be at beginning of declaration
    SH: static should be at beginning of declaration
    MIPS: static should be at beginning of declaration
    ARM: static should be at beginning of declaration
    rcu: treewide: Do not use rcu_read_lock_held when calling rcu_dereference_check
    Update my e-mail address
    PCIe ASPM: forcedly -> forcibly
    gma500: push through device driver tree
    ...

    Fix up trivial conflicts:
    - arch/arm/mach-ep93xx/dma-m2p.c (deleted)
    - drivers/gpio/gpio-ep93xx.c (renamed and context nearby)
    - drivers/net/r8169.c (just context changes)

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6:
    fs: take the ACL checks to common code
    bury posix_acl_..._masq() variants
    kill boilerplates around posix_acl_create_masq()
    generic_acl: no need to clone acl just to push it to set_cached_acl()
    kill boilerplate around posix_acl_chmod_masq()
    reiserfs: cache negative ACLs for v1 stat format
    xfs: cache negative ACLs if there is no attribute fork
    9p: do no return 0 from ->check_acl without actually checking
    vfs: move ACL cache lookup into generic code
    CIFS: Fix oops while mounting with prefixpath
    xfs: Fix wrong return value of xfs_file_aio_write
    fix devtmpfs race
    caam: don't pass bogus S_IFCHR to debugfs_create_...()
    get rid of create_proc_entry() abuses - proc_mkdir() is there for purpose
    asus-wmi: ->is_visible() can't return negative
    fix jffs2 ACLs on big-endian with 16bit mode_t
    9p: close ACL leaks
    ocfs2_init_acl(): fix a leak
    VFS : mount lock scalability for internal mounts

    Linus Torvalds
     
  • * 'next/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc: (35 commits)
    ARM: msm: platsmp: determine number of CPU cores at boot time
    ARM: Tegra: Seaboard: Fix I2C bus numbering for ADT7461
    ARM: Tegra: Trimslice: Tri-state DAP3 pinmux
    ARM: orion5x: fixup 5181 MPP mask check
    ARM: mxs-dma: include
    ARM: i.MX53: consistently use MX53_UART_PAD_CTRL for uart txd/rxd/rts/cts
    ARM: i.MX53: UARTn_CTS pin should not change RTS input select
    ARM: i.MX53: UARTn_TXD pin should not change RXD input select
    ARM: mx25: Fix typo on CAN1_RX pad setting
    iomux-mx53: add missing 'IOMUX_CONFIG_SION' for some I2C pad definitions
    ARM: NUC93X: add UL suffix to VMALLOC_END to ensure it is properly typed
    ARM: LPC32XXX: add UL suffix to VMALLOC_END to ensure it is properly typed
    ARM: CNS3XXX: add UL suffix to VMALLOC_END to ensure it is properly typed
    ARM: i.MX53: Fix IOMUX type o's
    ARM i.MX dma: Fix burstsize settings
    mach-mx5: fix the I2C clock parents
    ARM: mxs/tx28: according to the TX28's datasheet D4-D7 are not used for MMC0
    ARM i.MX23/28: platform-mxsfb: Add missing include of linux/dma-mapping.h
    ARM: mx53: Fix some interrupts marked as reserved.
    MXC: iomux-v3: correct NO_PAD_CTRL definition
    ...

    Fix up trivial conflict in arch/arm/mach-imx/mach-mx31_3ds.c

    Linus Torvalds
     

25 Jul, 2011

1 commit


24 Jul, 2011

5 commits


23 Jul, 2011

2 commits

  • …rnel/git/tip/linux-2.6-tip

    * 'timers-cleanup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    mips: Fix i8253 clockevent fallout
    i8253: Cleanup outb/inb magic
    arm: Footbridge: Use common i8253 clockevent
    mips: Use common i8253 clockevent
    x86: Use common i8253 clockevent
    i8253: Create common clockevent implementation
    i8253: Export i8253_lock unconditionally
    pcpskr: MIPS: Make config dependencies finer grained
    pcspkr: Cleanup Kconfig dependencies
    i8253: Move remaining content and delete asm/i8253.h
    i8253: Consolidate definitions of PIT_LATCH
    x86: i8253: Consolidate definitions of global_clock_event
    i8253: Alpha, PowerPC: Remove unused asm/8253pit.h
    alpha: i8253: Cleanup remaining users of i8253pit.h
    i8253: Remove I8253_LOCK config
    i8253: Make pcsp sound driver use the shared i8253_lock
    i8253: Make pcspkr input driver use the shared i8253_lock
    i8253: Consolidate all kernel definitions of i8253_lock
    i8253: Unify all kernel declarations of i8253_lock
    i8253: Create linux/i8253.h and use it in all 8253 related files

    Linus Torvalds
     
  • * 'spi/next' of git://git.secretlab.ca/git/linux-2.6: (34 commits)
    spi/imx: add device tree probe support
    spi/imx: copy gpio number passed by platform data into driver private data
    spi/imx: use soc name in spi device type naming scheme
    spi/imx: merge type SPI_IMX_VER_0_7 into SPI_IMX_VER_0_4
    spi/imx: do not use spi_imx2_3 to name SPI_IMX_VER_2_3 function and macro
    spi/imx: use mx21 to name SPI_IMX_VER_0_0 function and macro
    spi/imx: do not make copy of spi_imx_devtype_data
    spi/dw: Add spi number into spi irq desc
    spi/tegra: Use engineering names in DT compatible property
    spi/fsl_spi: fix CPM spi driver
    mach-s3c2410: remove unused spi-gpio.h file
    spi: remove obsolete spi-s3c24xx-gpio driver
    mach-gta2: remove unused spi-gpio.h include
    mach-qt2410: convert to spi_gpio
    mach-jive: convert to spi_gpio
    spi/pxa2xx: Remove unavailable ssp_type from documentation
    spi/bfin_spi: uninline fat queue funcs
    spi/bfin_spi: constify pin array
    spi/bfin_spi: use structs for accessing hardware regs
    spi/topcliff-pch: Support new device ML7223 IOH
    ...

    Fix up trivial conflict in arch/arm/mach-ep93xx/Makefile

    Linus Torvalds
     

22 Jul, 2011

5 commits