02 Aug, 2012

2 commits

  • Pull sound fixes from Takashi Iwai:
    "A collection of small fixes that have been found recently. Most of
    the commits are regression fixes in HD-audio and some other random
    drivers."

    * tag 'sound-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
    ALSA: snd-usb: fix clock source validity index
    ALSA: hda - Fix mute-LED GPIO initialization for IDT codecs
    ALSA: hda - Add descriptions for missing IDT 92HD83x models
    ALSA: hda - Fix polarity of mute LED on HP Mini 210
    ALSA: es1688 - freeup resources on init failure
    ALSA: hda - Workaround for silent output on VAIO Z with ALC889
    ALSA: hda - Fix WARNING from HDMI/DP parser
    ALSA: hda - Detach from converter at closing in patch_hdmi.c
    ALSA: hda - Fix mute-LED GPIO setup for HP Mini 210
    ALSA: mpu401: Fix missing initialization of irq field
    ALSA: hda - Fix invalid D3 of headphone DAC on VT202x codecs

    Linus Torvalds
     
  • Pull second vfs pile from Al Viro:
    "The stuff in there: fsfreeze deadlock fixes by Jan (essentially, the
    deadlock reproduced by xfstests 068), symlink and hardlink restriction
    patches, plus assorted cleanups and fixes.

    Note that another fsfreeze deadlock (emergency thaw one) is *not*
    dealt with - the series by Fernando conflicts a lot with Jan's, breaks
    userland ABI (FIFREEZE semantics gets changed) and trades the deadlock
    for massive vfsmount leak; this is going to be handled next cycle.
    There probably will be another pull request, but that stuff won't be
    in it."

    Fix up trivial conflicts due to unrelated changes next to each other in
    drivers/{staging/gdm72xx/usb_boot.c, usb/gadget/storage_common.c}

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (54 commits)
    delousing target_core_file a bit
    Documentation: Correct s_umount state for freeze_fs/unfreeze_fs
    fs: Remove old freezing mechanism
    ext2: Implement freezing
    btrfs: Convert to new freezing mechanism
    nilfs2: Convert to new freezing mechanism
    ntfs: Convert to new freezing mechanism
    fuse: Convert to new freezing mechanism
    gfs2: Convert to new freezing mechanism
    ocfs2: Convert to new freezing mechanism
    xfs: Convert to new freezing code
    ext4: Convert to new freezing mechanism
    fs: Protect write paths by sb_start_write - sb_end_write
    fs: Skip atime update on frozen filesystem
    fs: Add freezing handling to mnt_want_write() / mnt_drop_write()
    fs: Improve filesystem freezing handling
    switch the protection of percpu_counter list to spinlock
    nfsd: Push mnt_want_write() outside of i_mutex
    btrfs: Push mnt_want_write() outside of i_mutex
    fat: Push mnt_want_write() outside of i_mutex
    ...

    Linus Torvalds
     

01 Aug, 2012

2 commits

  • uac_clock_source_is_valid() uses the control selector value to access
    the bmControls bitmap of the clock source unit. This is wrong, as
    control selector values start from 1, while the bitmap uses all
    available bits.

    In other words, "Clock Validity Control" is stored in D3..2, not D5..4
    of the clock selector unit's bmControls.

    Signed-off-by: Daniel Mack
    Reported-by: Andreas Koch
    Cc: stable@kernel.org
    Signed-off-by: Takashi Iwai

    Daniel Mack
     
  • Pull second set of media updates from Mauro Carvalho Chehab:

    - radio API: add support to work with radio frequency bands

    - new AM/FM radio drivers: radio-shark, radio-shark2

    - new Remote Controller USB driver: iguanair

    - conversion of several drivers to the v4l2 core control framework

    - new board additions at existing drivers

    - the remaining (and vast majority of the patches) are due to
    drivers/DocBook fixes/cleanups.

    * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (154 commits)
    [media] radio-tea5777: use library for 64bits div
    [media] tlg2300: Declare MODULE_FIRMWARE usage
    [media] lgs8gxx: Declare MODULE_FIRMWARE usage
    [media] xc5000: Add MODULE_FIRMWARE statements
    [media] s2255drv: Add MODULE_FIRMWARE statement
    [media] dib8000: move dereference after check for NULL
    [media] Documentation: Update cardlists
    [media] bttv: add support for Aposonic W-DVR
    [media] cx25821: Remove bad strcpy to read-only char*
    [media] pms.c: remove duplicated include
    [media] smiapp-core.c: remove duplicated include
    [media] via-camera: pass correct format settings to sensor
    [media] rtl2832.c: minor cleanup
    [media] Add support for the IguanaWorks USB IR Transceiver
    [media] Minor cleanups for MCE USB
    [media] drivers/media/dvb/siano/smscoreapi.c: use list_for_each_entry
    [media] Use a named union in struct v4l2_ioctl_info
    [media] mceusb: Add Twisted Melon USB IDs
    [media] staging/media/solo6x10: use module_pci_driver macro
    [media] staging/media/dt3155v4l: use module_pci_driver macro
    ...

    Conflicts:
    Documentation/feature-removal-schedule.txt

    Linus Torvalds
     

31 Jul, 2012

8 commits

  • The IDT codecs initializes the GPIO setup for mute LEDs via
    snd_hda_sync_vmaster_hook(). This works in most cases except for the
    very first call, which is called before PCM and control creations.
    Thus before Master switch is set manually via alsactl, the mute LED
    may show the wrong state, depending on the polarity.

    Now it's fixed by calling the LED-status update function manually when
    no vmaster is set yet.

    Cc: [v3.4+]
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • The commit a3e199732b made the LED working again on HP Mini 210 but
    with a wrong polarity. This patch fixes the polarity for this
    machine, and also introduce a new model string "hp-inv-led".

    Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=772923

    Cc: [v3.3+]
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Pull media updates from Mauro Carvalho Chehab:
    "This is the first part of the media patches for v3.6.

    This patch series contain:
    - new DVB frontend: rtl2832
    - new video drivers: adv7393
    - some unused files got removed
    - a selection API cleanup between V4L2 and V4L2 subdev API's
    - a major redesign at v4l-ioctl2, in order to clean it up
    - several driver fixes and improvements."

    * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (174 commits)
    v4l: Export v4l2-common.h in include/linux/Kbuild
    media: Revert "[media] Terratec Cinergy S2 USB HD Rev.2"
    [media] media: Use pr_info not homegrown pr_reg macro
    [media] Terratec Cinergy S2 USB HD Rev.2
    [media] v4l: Correct conflicting V4L2 subdev selection API documentation
    [media] Feature removal: V4L2 selections API target and flag definitions
    [media] v4l: Unify selection flags documentation
    [media] v4l: Unify selection flags
    [media] v4l: Common documentation for selection targets
    [media] v4l: Unify selection targets across V4L2 and V4L2 subdev interfaces
    [media] v4l: Remove "_ACTUAL" from subdev selection API target definition names
    [media] V4L: Remove "_ACTIVE" from the selection target name definitions
    [media] media: dvb-usb: print mac address via native %pM
    [media] s5p-tv: Use module_i2c_driver in sii9234_drv.c file
    [media] media: gpio-ir-recv: add allowed_protos for platform data
    [media] s5p-jpeg: Use module_platform_driver in jpeg-core.c file
    [media] saa7134: fix spelling of detach in label
    [media] cx88-blackbird: replace ioctl by unlocked_ioctl
    [media] cx88: don't use current_norm
    [media] cx88: fix a number of v4l2-compliance violations
    ...

    Linus Torvalds
     
  • Merge Andrew's first set of patches:
    "Non-MM patches:

    - lots of misc bits

    - tree-wide have_clk() cleanups

    - quite a lot of printk tweaks. I draw your attention to "printk:
    convert the format for KERN_ to a 2 byte pattern" which
    looks a bit scary. But afaict it's solid.

    - backlight updates

    - lib/ feature work (notably the addition and use of memweight())

    - checkpatch updates

    - rtc updates

    - nilfs updates

    - fatfs updates (partial, still waiting for acks)

    - kdump, proc, fork, IPC, sysctl, taskstats, pps, etc

    - new fault-injection feature work"

    * Merge emailed patches from Andrew Morton : (128 commits)
    drivers/misc/lkdtm.c: fix missing allocation failure check
    lib/scatterlist: do not re-write gfp_flags in __sg_alloc_table()
    fault-injection: add tool to run command with failslab or fail_page_alloc
    fault-injection: add selftests for cpu and memory hotplug
    powerpc: pSeries reconfig notifier error injection module
    memory: memory notifier error injection module
    PM: PM notifier error injection module
    cpu: rewrite cpu-notifier-error-inject module
    fault-injection: notifier error injection
    c/r: fcntl: add F_GETOWNER_UIDS option
    resource: make sure requested range is included in the root range
    include/linux/aio.h: cpp->C conversions
    fs: cachefiles: add support for large files in filesystem caching
    pps: return PTR_ERR on error in device_create
    taskstats: check nla_reserve() return
    sysctl: suppress kmemleak messages
    ipc: use Kconfig options for __ARCH_WANT_[COMPAT_]IPC_PARSE_VERSION
    ipc: compat: use signed size_t types for msgsnd and msgrcv
    ipc: allow compat IPC version field parsing if !ARCH_WANT_OLD_COMPAT_IPC
    ipc: add COMPAT_SHMLBA support
    ...

    Linus Torvalds
     
  • Make the output logging routine independent of the KERN_ style.

    Signed-off-by: Joe Perches
    Cc: Kay Sievers
    Cc: Takashi Iwai
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Joe Perches
     
  • Some devices which use the tea575x tuner chip don't allow direct control
    over the IO pins, and thus cannot mute the audio output.

    Signed-off-by: Hans de Goede
    CC: Ondrej Zary
    Signed-off-by: Mauro Carvalho Chehab

    Hans de Goede
     
  • Some devices which use the tea575x tuner chip don't allow bit banging the
    lines, instead they offer a method to directly set / get the contents of the
    25 bit shift-register in the chip. Notably the Griffin radioSHARK USB radio
    receiver does this.

    Signed-off-by: Hans de Goede
    CC: Ondrej Zary
    Signed-off-by: Mauro Carvalho Chehab

    Hans de Goede
     
  • Pull MFD bits from Samuel Ortiz:
    "We have support for a few new drivers:
    - Samsung s2mps11
    - Wolfson Microelectronics wm5102 and wm5110
    - Marvell 88PM800 and 88PM805
    - TI twl6041

    We also have our regular driver improvements:
    - Device tree and IRQ domain support for STE AB8500
    - Regmap and devm_* API conversion for TI tps6586x
    - Device tree support for Samsung max77686
    - devm_* API conversion for STE AB3100

    Besides that, quite a lot of fixing and cleanup for mc13xxx, tps65910,
    tps65090, da9052 and twl-core."

    Fix up mostly trivial conflicts, with the exception of
    drivers/usb/host/ehci-omap.c in particular, which had some
    re-organization of the reset sequence (commit 1a49e2ac9651: "EHCI:
    centralize controller initialization") that clashed with commit
    2761a6394516 ("mfd: USB: Fix the omap-usb EHCI ULPI PHY reset fix
    issues").

    In particular, commit 2761a6394516 moved the usb_add_hcd() to the
    *middle* of the reset sequence, which clashes fairly badly with the
    reset sequence re-organization (although it could have been done inside
    the new omap_ehci_init() function).

    I left that part of commit 2761a6394516 just undone.

    * tag 'mfd-3.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6: (110 commits)
    mfd: Ensure AB8500 platform data is passed through db8500-prcmu to MFD Core
    mfd: Arizone core should select MFD_CORE
    mfd: Fix arizona-irq.c build by selecting REGMAP_IRQ
    mfd: Add debug trace on entering and leaving arizone runtime suspend
    mfd: Correct tps65090 cell names
    mfd: Remove gpio support from tps6586x core driver
    ARM: tegra: defconfig: Enable tps6586x gpio
    gpio: tps6586x: Add gpio support through platform driver
    mfd: Cache tps6586x register through regmap
    mfd: Use regmap for tps6586x register access.
    mfd: Use devm managed resources for tps6586x
    input: Add onkey support for 88PM80X PMIC
    mfd: Add support for twl6041
    mfd: Fix twl6040 revision information
    mfd: Matches should be NULL when populate anatop child devices
    input: ab8500-ponkey: Create AB8500 domain IRQ mapping
    mfd: Add missing out of memory check for pcf50633
    Documentation: Describe the AB8500 Device Tree bindings
    mfd: Add tps65910 32-kHz-crystal-input init
    mfd: Drop modifying mc13xxx driver's id_table in probe
    ...

    Linus Torvalds
     

30 Jul, 2012

2 commits

  • This will fix the following oops:

    [ 6.169981] genirq: Flags mismatch irq 5. 00000000 (ES1688) vs. 00000000 (ES1688)
    [ 6.170851] Pid: 1, comm: swapper Not tainted 3.5.0-00004-gceee0e9 #14
    [ 6.170851] Call Trace:
    [ 6.170851] [] ? __setup_irq+0x3c7/0x420
    [ 6.170851] [] ? request_threaded_irq+0x76/0x140
    [ 6.170851] [] ? snd_es1688_ioctl+0x10/0x10
    [ 6.170851] [] ? request_threaded_irq+0xb2/0x140
    [ 6.170851] [] ? snd_es1688_create+0x96/0x330
    [ 6.170851] [] ? snd_gusextreme_probe+0x18d/0x5a2
    [ 6.170851] [] ? __driver_attach+0x80/0x80
    [ 6.170851] [] ? sysfs_create_link+0xf/0x20
    [ 6.170851] [] ? __driver_attach+0x80/0x80
    [ 6.170851] [] ? isa_bus_probe+0x12/0x20
    [ 6.170851] [] ? driver_probe_device+0x55/0x1c0
    [ 6.170851] [] ? _raw_spin_unlock+0xf/0x30
    [ 6.170851] [] ? klist_next+0x6a/0xe0
    [ 6.170851] [] ? isa_bus_match+0x21/0x40
    [ 6.170851] [] ? bus_for_each_drv+0x34/0x70
    [ 6.170851] [] ? device_attach+0x7b/0x90
    [ 6.170851] [] ? __driver_attach+0x80/0x80
    [ 6.170851] [] ? bus_probe_device+0x5f/0x80
    [ 6.170851] [] ? device_add+0x573/0x620
    [ 6.170851] [] ? complete_all+0x40/0x60
    [ 6.170851] [] ? _raw_spin_unlock_irqrestore+0x1a/0x30
    [ 6.170851] [] ? isa_register_driver+0xb6/0x150
    [ 6.170851] [] ? alsa_card_gusmax_init+0xf/0xf
    [ 6.170851] [] ? do_one_initcall+0x7f/0x12b
    [ 6.170851] [] ? kernel_init+0x112/0x1a9
    [ 6.170851] [] ? do_early_param+0x77/0x77
    [ 6.170851] [] ? do_one_initcall+0x12b/0x12b
    [ 6.170851] [] ? kernel_thread_helper+0x6/0xd
    [ 6.190170] es1688: can't grab IRQ 5
    [ 6.190613] genirq: Flags mismatch irq 5. 00000000 (ES1688) vs. 00000000 (ES1688)
    [ 6.191566] Pid: 1, comm: swapper Not tainted 3.5.0-00004-gceee0e9 #14
    [ 6.192394] Call Trace:
    [ 6.192685] [] ? __setup_irq+0x3c7/0x420
    [ 6.193342] [] ? request_threaded_irq+0x76/0x140
    [ 6.194081] [] ? snd_es1688_ioctl+0x10/0x10
    [ 6.194607] [] ? request_threaded_irq+0xb2/0x140
    [ 6.194607] [] ? snd_es1688_create+0x96/0x330
    [ 6.194607] [] ? snd_gusextreme_probe+0x18d/0x5a2
    [ 6.194607] [] ? __driver_attach+0x80/0x80
    [ 6.194607] [] ? sysfs_create_link+0xf/0x20
    [ 6.194607] [] ? __driver_attach+0x80/0x80
    [ 6.194607] [] ? isa_bus_probe+0x12/0x20
    [ 6.194607] [] ? driver_probe_device+0x55/0x1c0
    [ 6.194607] [] ? _raw_spin_unlock+0xf/0x30
    [ 6.194607] [] ? klist_next+0x6a/0xe0
    [ 6.194607] [] ? isa_bus_match+0x21/0x40
    [ 6.194607] [] ? bus_for_each_drv+0x34/0x70
    [ 6.194607] [] ? device_attach+0x7b/0x90
    [ 6.194607] [] ? __driver_attach+0x80/0x80
    [ 6.194607] [] ? bus_probe_device+0x5f/0x80
    [ 6.194607] [] ? device_add+0x573/0x620
    [ 6.194607] [] ? complete_all+0x40/0x60
    [ 6.194607] [] ? _raw_spin_unlock_irqrestore+0x1a/0x30
    [ 6.194607] [] ? isa_register_driver+0xb6/0x150
    [ 6.194607] [] ? alsa_card_gusmax_init+0xf/0xf
    [ 6.194607] [] ? do_one_initcall+0x7f/0x12b
    [ 6.194607] [] ? kernel_init+0x112/0x1a9
    [ 6.194607] [] ? do_early_param+0x77/0x77
    [ 6.194607] [] ? do_one_initcall+0x12b/0x12b
    [ 6.194607] [] ? kernel_thread_helper+0x6/0xd
    [ 6.210779] es1688: can't grab IRQ 5
    [ 6.211305] gusextreme: probe of gusextreme.0 failed with error -16

    Signed-off-by: Daniel Mack
    Signed-off-by: Fengguang Wu
    Signed-off-by: Takashi Iwai

    Fengguang Wu
     
  • Signed-off-by: Al Viro

    Al Viro
     

29 Jul, 2012

1 commit

  • On recent kernels, Realtek codec parser tries to optimize the routing
    aggressively and take the headphone output as primary at first. This
    caused a regression on VAIO Z with ALC889, the silent output from the
    speaker.

    The problem seems that the speaker pin must be connected to the first
    DAC (0x02) on this machine by some reason although the codec itself
    advertises the flexible routing with any DACs.

    This patch adds a fix-up for choosing the speaker pin as the primary
    so that the right DAC is assigned on this device.

    Reported-and-tested-by: Adam Williamson
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

28 Jul, 2012

1 commit


27 Jul, 2012

2 commits

  • Pull ARM SoC fixes from Olof Johansson:
    "A mixed bag of fixes, some for merge window fallout (tegra, MXS), and
    a short series of fixes for marvell platforms that didn't make it in
    before 3.5."

    * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
    ARM: mxs: fix compile error caused by prom_update_property change
    ARM: dt: tegra trimslice: enable USB2 port
    ARM: dt: tegra trimslice: add vbus-gpio property
    ARM: vt8500: Add maintainer for VT8500 architecture
    ARM: Kirkwood: Replace mrvl with marvell
    ARM: Orion: fix driver probe error handling with respect to clk
    ARM: Dove: Fixup ge00 initialisation
    ARM: Kirkwood: Fix PHY disable clk problems
    ARM: Kirkwood: Ensure runit clock always ticks.
    ARM: versatile: Don't use platform clock for Integrator & VE
    ARM: tegra: harmony: add regulator supply name and its input supply

    Linus Torvalds
     
  • The generic HDMI code detaches the converter from the stream when
    unused, but it must be done rather in the close callback instead of
    the cleanup callback.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

26 Jul, 2012

2 commits

  • BIOS on HP Mini 210 doesn't provide the proper "HP_Mute_LED" DMI
    string, thus the driver doesn't initialize the GPIO, too. In the
    earlier kernel, the driver falls back to GPIO1, but since 3.3 we've
    stopped this due to other wrongly advertised machines.

    For fixing this particular case, add a new model type to specify the
    default polarity explicitly so that the fallback to GPIO1 is handled.

    Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=772923

    Cc: [v3.3+]
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • From Andrew Lunn :

    * 'v3.5-rc7-fixes' of git://github.com/lunn/linux:
    ARM: Kirkwood: Replace mrvl with marvell
    ARM: Orion: fix driver probe error handling with respect to clk
    ARM: Dove: Fixup ge00 initialisation
    ARM: Kirkwood: Fix PHY disable clk problems
    ARM: Kirkwood: Ensure runit clock always ticks.

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     

25 Jul, 2012

8 commits

  • The clk patches added code to get and enable clocks in the
    respective driver probe functions. If the probe function failed
    for some reason after enabling the clock, the clock was not
    disabled again in many cases.

    Signed-off-by: Simon Baatz
    Signed-off-by: Andrew Lumm

    Simon Baatz
     
  • The irq field of struct snd_mpu401 is supposed to be initialized to -1.
    Since it's set to zero as of now, a probing error before the irq
    installation results in a kernel warning "Trying to free already-free
    IRQ 0".

    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=44821
    Cc:
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • We've got a bug report about the silent output from the headphone on a
    mobo with VT2021, and spotted out that this was because of the wrong
    D3 state on the DAC for the headphone output. The bug is triggered by
    the incomplete check for this DAC in set_widgets_power_state_vt1718S().
    It checks only the connectivity of the primary output (0x27) but
    doesn't consider the path from the headphone pin (0x28).

    Now this patch fixes the problem by checking both pins for DAC 0x0b.

    Cc:
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Pull first round of SCSI updates from James Bottomley:
    "The most important feature of this patch set is the new async
    infrastructure that makes sure async_synchronize_full() synchronizes
    all domains and allows us to remove all the hacks (like having
    scsi_complete_async_scans() in the device base code) and means that
    the async infrastructure will "just work" in future.

    The rest is assorted driver updates (aacraid, bnx2fc, virto-scsi,
    megaraid, bfa, lpfc, qla2xxx, qla4xxx) plus a lot of infrastructure
    work in sas and FC.

    Signed-off-by: James Bottomley "

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (97 commits)
    [SCSI] Revert "[SCSI] fix async probe regression"
    [SCSI] cleanup usages of scsi_complete_async_scans
    [SCSI] queue async scan work to an async_schedule domain
    [SCSI] async: make async_synchronize_full() flush all work regardless of domain
    [SCSI] async: introduce 'async_domain' type
    [SCSI] bfa: Fix to set correct return error codes and misc cleanup.
    [SCSI] aacraid: Series 7 Async. (performance) mode support
    [SCSI] aha152x: Allow use on 64bit systems
    [SCSI] virtio-scsi: Add vdrv->scan for post VIRTIO_CONFIG_S_DRIVER_OK LUN scanning
    [SCSI] bfa: squelch lockdep complaint with a spin_lock_init
    [SCSI] qla2xxx: remove unnecessary reads of PCI_CAP_ID_EXP
    [SCSI] qla4xxx: remove unnecessary read of PCI_CAP_ID_EXP
    [SCSI] ufs: fix incorrect return value about SUCCESS and FAILED
    [SCSI] ufs: reverse the ufshcd_is_device_present logic
    [SCSI] ufs: use module_pci_driver
    [SCSI] usb-storage: update usb devices for write cache quirk in quirk list.
    [SCSI] usb-storage: add support for write cache quirk
    [SCSI] set to WCE if usb cache quirk is present.
    [SCSI] virtio-scsi: hotplug support for virtio-scsi
    [SCSI] virtio-scsi: split scatterlist per target
    ...

    Linus Torvalds
     
  • Pull slave-dmaengine update from Vinod Koul:
    "This time we have a new dmaengine driver from the tegra folks. Also
    we have Guennadi's cleanup of sh drivers which incudes a library for
    sh drivers. And the usual odd fixes in bunch of drivers and some nice
    cleanup of dw_dmac from Andy."

    Fix up conflicts in drivers/mmc/host/sh_mmcif.c

    * 'next' of git://git.infradead.org/users/vkoul/slave-dma: (46 commits)
    dmaengine: Cleanup logging messages
    mmc: sh_mmcif: switch to the new DMA channel allocation and configuration
    dma: sh: provide a migration path for slave drivers to stop using .private
    dma: sh: use an integer slave ID to improve API compatibility
    dmaengine: shdma: prepare to stop using struct dma_chan::private
    sh: remove unused DMA device pointer from SIU platform data
    ASoC: siu: don't use DMA device for channel filtering
    dmaengine: shdma: (cosmetic) simplify a static function
    dmaengine: at_hdmac: add a few const qualifiers
    dw_dmac: use 'u32' for LLI structure members, not dma_addr_t
    dw_dmac: mark dwc_dump_lli inline
    dma: mxs-dma: Export missing symbols from mxs-dma.c
    dma: shdma: convert to the shdma base library
    ASoC: fsi: prepare for conversion to the shdma base library
    usb: renesas_usbhs: prepare for conversion to the shdma base library
    ASoC: siu: prepare for conversion to the shdma base library
    serial: sh-sci: prepare for conversion to the shdma base library
    mmc: sh_mobile_sdhi: prepare for conversion to the shdma base library
    mmc: sh_mmcif: remove unneeded struct sh_mmcif_dma, prepare to shdma conversion
    dma: shdma: prepare for conversion to the shdma base library
    ...

    Linus Torvalds
     
  • twl6040 ES1.1 and ES1.2 have the same revid (0x01).
    ES1.3 of twl6040 REVID is 0x02.

    Signed-off-by: Peter Ujfalusi
    Signed-off-by: Samuel Ortiz

    Peter Ujfalusi
     
  • Pull sound update from Takashi Iwai:
    "This is a fairly quiet release in all sound area. Only a little bit
    of changes in the core side while most of changes are seen in the
    drivers.

    HD-audio:
    - A few new codec additions for Nvidia, Realtek and VIA
    - Intel Haswell audio support
    - Support for "phantom" jacks for consistent jack reporting
    - Major clean-ups in HDMI/DP driver codes
    - A workaround for inverted digital-mic pins with Realtek codecs
    - Removal of beep_mode=2 option

    ASoC:
    - Added the ability to add and remove DAPM paths dynamically, mostly
    for reparenting on clock changes
    - New machine drivers for Marvell Brownstone, ST-Ericsson Ux500
    reference platform and ttc-dkp
    - New CPU drivers for Blackfin BF6xx SPORTs in I2S mode, Marvell MMP,
    Synopsis Designware I2S controllers, and SPEAr DMA and S/PDIF
    - New CODEC drivers for Dialog DA732x, ST STA529, ST-Ericsson AB8500,
    TI Isabelle and Wolfson Microelectronics WM5102 and WM5110
    - DAPM fixes for the recent locking changes
    - Fix for _PRE and _POST widgets (which have been broken for a few
    releases now)
    - A couple of minor driver updates

    Misc
    - Conversion to new dev_pm_ops in platform and PCI drivers
    - LTC support and some fixes in PCXHR driver
    - A few fixes and PM support for ISA OPti9xx and WSS cards
    - Some TLV code cleanup
    - Move driver-specific headers from include/sound to local dirs"

    * tag 'sound-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (212 commits)
    ASoC: dapm: Fix _PRE and _POST events for DAPM performance improvements
    ALSA: hda - add dock support for Thinkpad X230 Tablet
    ALSA: hda - Turn on PIN_OUT from hdmi playback prepare.
    ASoC imx-audmux: add MX31_AUDMUX_PORT7_SSI_PINS_7 define
    ASoC: littlemill: Add userspace control of the WM1250 I/O
    ASoC: wm8994: Update micdet for irqdomain conversion
    ALSA: hda - make sure alc268 does not OOPS on codec parse
    ALSA: hda - Add support for Realtek ALC282
    ALSA: hda - Fix index number conflicts of phantom jacks
    ALSA: opti9xx: Fix section mismatch by PM support
    ALSA: snd-opti9xx: Implement suspend/resume
    ALSA: hda - Add new GPU codec ID to snd-hda
    ALSA: hda - Fix driver type of Haswell controller to AZX_DRIVER_SCH
    ALSA: hda - add Haswell HDMI codec id
    ALSA: hda - Add DeviceID for Haswell HDA
    ALSA: wss_lib: Fix resume on Yamaha OPL3-SAx
    ALSA: wss_lib: fix suspend/resume
    ALSA: es1938: replace TLV_DB_RANGE_HEAD with DECLARE_TLV_DB_RANGE
    ALSA: tlv: add DECLARE_TLV_DB_RANGE()
    ALSA: tlv: add DECLARE_TLV_CONTAINER()
    ...

    Linus Torvalds
     
  • Pull trivial tree from Jiri Kosina:
    "Trivial updates all over the place as usual."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (29 commits)
    Fix typo in include/linux/clk.h .
    pci: hotplug: Fix typo in pci
    iommu: Fix typo in iommu
    video: Fix typo in drivers/video
    Documentation: Add newline at end-of-file to files lacking one
    arm,unicore32: Remove obsolete "select MISC_DEVICES"
    module.c: spelling s/postition/position/g
    cpufreq: Fix typo in cpufreq driver
    trivial: typo in comment in mksysmap
    mach-omap2: Fix typo in debug message and comment
    scsi: aha152x: Fix sparse warning and make printing pointer address more portable.
    Change email address for Steve Glendinning
    Btrfs: fix typo in convert_extent_bit
    via: Remove bogus if check
    netprio_cgroup.c: fix comment typo
    backlight: fix memory leak on obscure error path
    Documentation: asus-laptop.txt references an obsolete Kconfig item
    Documentation: ManagementStyle: fixed typo
    mm/vmscan: cleanup comment error in balance_pgdat
    mm: cleanup on the comments of zone_reclaim_stat
    ...

    Linus Torvalds
     

24 Jul, 2012

5 commits

  • Pull powerpc updates from Benjamin Herrenschmidt:
    "Notable highlights:

    - iommu improvements from Anton removing the per-iommu global lock in
    favor of dividing the DMA space into pools, each with its own lock,
    and hashed on the CPU number. Along with making the locking more
    fine grained, this gives significant improvements in multiqueue
    networking scalability.

    - Still from Anton, we know provide a vdso based variant of getcpu
    which makes sched_getcpu with the appropriate glibc patch something
    like 18 times faster.

    - More anton goodness (he's been busy !) in other areas such as a
    faster __clear_user and copy_page on P7, various perf fixes to
    improve sampling quality, etc...

    - One more step toward removing legacy i2c interfaces by using new
    device-tree based probing of platform devices for the AOA audio
    drivers

    - A nice series of patches from Michael Neuling that helps avoiding
    confusion between register numbers and litterals in assembly code,
    trying to enforce the use of "%rN" register names in gas rather
    than plain numbers.

    - A pile of FSL updates

    - The usual bunch of small fixes, cleanups etc...

    You may spot a change to drivers/char/mem. The patch got no comment
    or ack from outside, it's a trivial patch to allow the architecture to
    skip creating /dev/port, which we use to disable it on ppc64 that
    don't have a legacy brige. On those, IO ports 0...64K are not mapped
    in kernel space at all, so accesses to /dev/port cause oopses (and
    yes, distros -still- ship userspace that bangs hard coded ports such
    as kbdrate)."

    * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (106 commits)
    powerpc/mpic: Create a revmap with enough entries for IPIs and timers
    Remove stale .rej file
    powerpc/iommu: Fix iommu pool initialization
    powerpc/eeh: Check handle_eeh_events() return value
    powerpc/85xx: Add phy nodes in SGMII mode for MPC8536/44/72DS & P2020DS
    powerpc/e500: add paravirt QEMU platform
    powerpc/mpc85xx_ds: convert to unified PCI init
    powerpc/fsl-pci: get PCI init out of board files
    powerpc/85xx: Update corenet64_smp_defconfig
    powerpc/85xx: Update corenet32_smp_defconfig
    powerpc/85xx: Rename P1021RDB-PC device trees to be consistent
    powerpc/watchdog: move booke watchdog param related code to setup-common.c
    sound/aoa: Adapt to new i2c probing scheme
    i2c/powermac: Improve detection of devices from device-tree
    powerpc: Disable /dev/port interface on systems without an ISA bridge
    of: Improve prom_update_property() function
    powerpc: Add "memory" attribute for mfmsr()
    powerpc/ftrace: Fix assembly trampoline register usage
    powerpc/hw_breakpoints: Fix incorrect pointer access
    powerpc: Put the gpr save/restore functions in their own section
    ...

    Linus Torvalds
     
  • Pull arm-soc clk changes from Arnd Bergmann:
    "Clock support is moving to the clk subsystem. These tegra, omap and
    imx changes are for code that is still platform specific and not (yet)
    part of that subsystem."

    Fix up conflicts in arch/arm/mach-{imx/clk-imx51-imx53.c,omap2/Makefile}

    * tag 'clk' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (23 commits)
    ARM: imx: clk-imx31: Fix clock id for rnga driver
    ARM: imx: add missing item to the list of clock event modes
    ARM: i.MX5x CSPI: Fixed clock name for CSPI
    ARM: i.MX5x clocks: Fix GPT clocks
    ARM: i.MX5x clocks: Fix parent for PWM clocks
    ARM: i.MX5x clocks: Add EPIT support
    ARM: mx27: Reenable silicon version print
    ARM: clk-imx27: Fix rtc clock id
    ARM: tegra: Provide clock for only one PWM controller
    ARM: tegra: Fix PWM clock programming
    ARM: OMAP3+: clock33xx: Add AM33XX clock tree data
    ARM: OMAP3+: clock: Move common clksel_rate & clock data to common file
    ARM: tegra: dma: rename driver name for clock to "tegra-apbdma"
    ARM: tegra: Remove second instance of uart clk
    crypto: add clk_prepare/clk_unprepare
    ASoC: tegra: add clk_prepare/clk_unprepare
    staging: nvec: add clk_prepare/clk_unprepare
    spi/tegra: add clk_prepare/clk_unprepare
    Input: tegra-kbc - add clk_prepare/clk_unprepare
    USB: ehci-tegra: add clk_prepare/clk_unprepare
    ...

    Linus Torvalds
     
  • Pull arm-soc sparse IRQ conversion from Arnd Bergmann:
    "The I.MX platform is getting converted to use sparse IRQs. We are
    doing this for all platforms over time, because this is one of the
    requirements for building a multiplatform kernel, and generally a good
    idea."

    * tag 'irq' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
    ARM: imx: select USE_OF
    ARM: imx: Fix build error due to missing irqs.h include
    ARM: imx: enable SPARSE_IRQ for imx platform
    ARM: fiq: change FIQ_START to a variable
    tty: serial: imx: remove the use of MXC_INTERNAL_IRQS
    ARM: imx: remove unneeded mach/irq.h inclusion
    i2c: imx: remove unneeded mach/irqs.h inclusion
    ARM: imx: add a legacy irqdomain for mx31ads
    ARM: imx: add a legacy irqdomain for 3ds_debugboard
    ARM: imx: pass gpio than irq number into mxc_expio_init
    ARM: imx: leave irq_base of wm8350_platform_data uninitialized
    dma: ipu: remove the use of ipu_platform_data
    ARM: imx: move irq_domain_add_legacy call into avic driver
    ARM: imx: move irq_domain_add_legacy call into tzic driver
    gpio/mxc: move irq_domain_add_legacy call into gpio driver
    ARM: imx: eliminate macro IRQ_GPIOx()
    ARM: imx: eliminate macro IOMUX_TO_IRQ()
    ARM: imx: eliminate macro IMX_GPIO_TO_IRQ()

    Linus Torvalds
     
  • Pull samsung arm-soc dma changes from Arnd Bergmann:
    "Some platforms are not yet converted to use the dmaengine framework,
    including some of the samsung SoCs. In the meantime, we treat this as
    platform code and merge the patches through the arm-soc tree."

    * tag 'dma' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
    ARM: SAMSUNG: Fix compiler warning in dma-ops.c file
    ASoC: follow the updated samsung DMA common operations
    spi/s3c64xx: Add the use of DMA config operation
    ARM: SAMSUNG: Add config() function in DMA common operations

    Linus Torvalds
     
  • Pull general arm-soc cleanups from Arnd Bergmann:
    "These are all boring changes, moving stuff around or renaming things
    mostly, and also getting rid of stuff that is duplicate or should not
    be there to start with. Platform-wise this is all over the place,
    mainly omap, samsung, at91, imx and tegra."

    Resolve trivial conflict in arch/arm/mach-omap2/clockdomains3xxx_data.c

    * tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (67 commits)
    ARM: clps711x: Remove the setting of the time
    ARM: clps711x: Removed superfluous transform virt_to_bus and related functions
    ARM: clps711x/p720t: Replace __initcall by .init_early call
    ARM: S3C24XX: Remove unused GPIO definitions for Openmoko GTA02 board
    ARM: S3C24XX: Remove unused GPIO definitions for port J
    ARM: S3C24XX: Remove unused GPA, GPE, GPH bank GPIO aliases
    ARM: S3C24XX: Convert the touchscreen setup code to common GPIO API
    ARM: S3C24XX: Convert the PM code to gpiolib API
    ARM: S3C24XX: Convert QT2410 board file to the gpiolib API
    ARM: S3C24XX: Convert SMDK board file to the gpiolib API
    ARM: S3C24XX: Free the backlight gpio requested in Mini2440 board code
    ARM: imx: remove unused pdata from device macros
    ARM: imx: Kconfig: Remove IMX_HAVE_PLATFORM_IMX_SSI from MACH_MX25_3DS
    ARM: at91: fix new build errors
    ARM: at91: add AIC5 support
    ARM: at91: remove mach/irqs.h
    ARM: at91: sparse irq support
    ARM: at91: at91 based machines specify their own irq handler at run time
    ARM: at91: remove static irq priorities for sam9x5
    ARM: at91: add of irq priorities support
    ...

    Linus Torvalds
     

23 Jul, 2012

3 commits


20 Jul, 2012

4 commits

  • Also add a model/fixup string "lenovo-dock", so that other Thinkpad
    users will be able to test this fixup easily, to see if it enables
    dock I/O for them as well.

    Cc: stable@kernel.org
    BugLink: https://bugs.launchpad.net/bugs/1026953
    Tested-by: John McCarron
    Signed-off-by: David Henningsson
    Signed-off-by: Takashi Iwai

    David Henningsson
     
  • This is in preparation for teaching async_synchronize_full() to sync all
    pending async work, and not just on the async_running domain. This
    conversion is functionally equivalent, just embedding the existing list
    in a new async_domain type.

    The .registered attribute is used in a later patch to distinguish
    between domains that want to be flushed by async_synchronize_full()
    versus those that only expect async_synchronize_{full|cookie}_domain to
    be used for flushing.

    [jejb: add async.h to scsi_priv.h for struct async_domain]
    Signed-off-by: Dan Williams
    Acked-by: Arjan van de Ven
    Acked-by: Mark Brown
    Tested-by: Eldad Zack
    Signed-off-by: James Bottomley

    Dan Williams
     
  • DMA channels are filtered based on slave IDs, no need to additionally filter
    on DMA device.

    Signed-off-by: Guennadi Liakhovetski
    Cc: Mark Brown
    Signed-off-by: Vinod Koul

    Guennadi Liakhovetski
     
  • Turn on the pin widget's PIN_OUT bit from playback prepare. The pin is
    enabled in open, but is disabled in hdmi_init_pin which is called during
    system resume. This causes a system suspend/resume during playback to
    mute HDMI/DP. Enabling the pin in prepare instead of open allows calling
    snd_pcm_prepare after a system resume to restore audio.

    Signed-off-by: Dylan Reid
    Cc:
    Signed-off-by: Takashi Iwai

    Dylan Reid