26 Jun, 2015

1 commit

  • Pull sound updates from Takashi Iwai:
    "It was a busy development cycle at this time, as you can see a wide
    range of changes in diffstat. There are no big changes but many
    refactoring and improvements. Here we go some highlights:

    ALSA core:
    - Procfs codes were cleaned up to use seq_file
    - Procfs can be opt out via Kconfig (only for EXPERT)
    - Two types of jack API were unified finally; now both kctl and input
    jack devs are handled via a single function call.

    HD-audio:
    - Continued code restructuring for the future ASoC driver; now HDA
    controller driver is split to a core helper module.
    - Preliminary codes for Skylake audio support in HDA core.
    - Proper i915 gfx power well management for SKL & co
    - Enabled runtime PM as default for Intel HDMI/DP codecs
    - Newer Tegra chip supports
    - More quirks for Dell headsets, Alienware (with CA0132), etc.
    - A couple of DRM ELD helper API functions

    ASoC:
    - Support for loading ASoC topology maps from firmware, intended to
    be used to allow self-describing DSP firmware images to be built
    which can map controls added by the DSP to userspace without the
    kernel needing to know about individual DSP firmwares
    - Lots of refactoring to avoid direct access to snd_soc_codec where
    it's not needed supporting future refactoring
    - Big refactoring, cleanup and enhancement for the Wolfson ADSP
    driver
    - Cleanup series for TI TAS2552 and R-CAR drivers
    - Fixes and improvements on RT56xx codecs
    - Support for TI TAS571x power amplifiers
    - Support for Qualcomm APQ8016 and ZTE ZX296702 SoCs
    - Support for x86 systems with RT5650 and Qualcomm Storm
    - Support for Mediatek AFE (Audio Front End) unit
    - Other various small fixes to ASoC codec drivers

    Firewire:
    - Enhanced to allow non-blocking streams to use timestamp
    synchronization
    - Improve support for DM1500 and BeBoBv3

    Misc:
    - Cleanup of old pci API functions over all PCI sound drivers
    - Fix long-standing regression of the old powermac i2c setup"

    * tag 'sound-4.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (533 commits)
    ALSA: pcm: Fix pcm_class sysfs output
    ALSA: hda-beep: Update authors dead email address
    ASoC: wm_adsp: Move DSP Rate controls into the codec
    ASoC: wm8995: Fix setting sysclk for WM8995_SYSCLK_MCLK2 case
    ALSA: hda: provide default bus io ops extended hdac
    ALSA: hda: add hda link cleanup routine
    ALSA: hda: add hdac_ext stream creation and cleanup routines
    ASoC: rsrc-card: remove unused ret
    ALSA: HDAC: move SND_HDA_PREALLOC_SIZE to core
    ASoC: mediatek: Add machine driver for rt5650 rt5676 codec
    ASoC: mediatek: Add machine driver for MAX98090 codec
    ASoC: mediatek: Add AFE platform driver
    ASoC: rsnd: remove io from rsnd_mod
    ASoC: rsnd: move rsnd_mod_is_working() to rsnd_io_is_working()
    ASoC: rsnd: don't use rsnd_mod_to_io() on snd_kcontrol
    ASoC: rsnd: don't use rsnd_mod_to_io() on rsnd_src_xxx()
    ASoC: rsnd: don't use rsnd_mod_to_io() on rsnd_ssi_xxx()
    ASoC: rsnd: don't use rsnd_mod_to_io() on rsnd_dma_xxx()
    ASoC: rsnd: don't use rsnd_mod_to_io() on rsnd_get_adinr()
    ASoC: rsnd: add common interrupt handler for SSI/SRC/DMA
    ...

    Linus Torvalds
     

24 Jun, 2015

2 commits

  • Pull fbdev updates from Tomi Valkeinen:

    - ssd1307fb: various fixes and improvements, SSD1305 support

    - use architecture agnostic functions instead of MTRR functions in
    various fbdev drivers

    - TI DRA7xx SoC display support (arch/arm/ side)

    - OMAPDSS componentization to fix probing order issues

    - OMAPDSS scaling fixes

    - msm_fb: remove obsoleted driver

    * tag 'fbdev-4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux: (77 commits)
    msm: msm_fb: Remove dead code
    OMAPDSS: HDMI: wait for framedone when stopping video
    OMAPDSS: HDMI4: fix error handling
    OMAPDSS: DISPC: scaler debug print
    OMAPDSS: DISPC: do only y decimation on OMAP3
    OMAPDSS: DISPC: check if scaling setup failed
    OMAPDSS: DISPC: fix 64 bit issue in 5-tap
    OMAPDSS: DISPC: fix row_inc for OMAP3
    OMAPDSS: DISPC: add check for scaling limits
    OMAPDSS: DISPC: fix check_horiz_timing_omap3 args
    OMAPDSS: DISPC: fix predecimation for YUV modes
    OMAPDSS: DISPC: work-around for errata i631
    OMAPDSS: simplify submodule reg/unreg code
    OMAPDSS: componentize omapdss
    OMAPDSS: reorder uninit calls
    OMAPDSS: remove uses of __init/__exit
    OMAPDSS: fix dss_init_ports error handling
    OMAPDSS: refactor dss probe function
    OMAPDSS: move 'dss_initialized' to dss driver
    fbdev: propagate result of fb_videomode_from_videomode()
    ...

    Linus Torvalds
     
  • Pull clkdev updates from Russell King:
    "This series addresses some breakage in clkdev caused by a previous
    patch set from the clk tree which introduced per-user clk structures.
    This basically renamed the existing 'struct clk' to 'struct clk_hw',
    and introduced a new 'struct clk'.

    This change will break anyone using clk_add_alias() with the common
    clk code enabled. Thankfully, the intersection of users of
    clk_add_alias() and those using the common clk code is practically
    zero, but this is something which should be fixed to keep the code
    sane.

    The problem is that clk_add_alias() does this:

    r = clk_get(...);
    l = clkdev_alloc(r, ...);
    clk_put(...);

    which causes the alias to store a pointer to 'r', which has been
    freed.

    The original patch set tried to work around this problem incorrectly -
    at clk_get() time, it tried to convert the struct clk to a struct
    clk_hw, and then creating a new struct clk from that. Clearly, if the
    original struct clk has been freed, then we have a use-after-free bug.

    We have other places in the tree which do something similar, so this
    series also addresses those locations too.

    This series addresses this problem by converting clkdev to store and
    use the clk_hw pointer. This allows clk_get() to only have to create
    it's per-user struct clk from the clk_hw. We can also get to the
    desired clk_hw at clk_add_alias() or clk lookup creation time, when
    the struct clk is "alive".

    We also perform some cleanups of the code:

    - replacing looped calls to clkdev_add() with clkdev_add_table()

    - replacing open-coded lookup allocation (which should have been
    using clkdev_alloc()) and subsequent clkdev_add() with
    clkdev_create()

    - replacing open-coded clk_add_alias() with clk_add_alias()"

    * 'for-linus-clk' of git://ftp.arm.linux.org.uk/~rmk/linux-arm:
    clk: s2mps11: use clkdev_create()
    ASoC: migor: use clkdev_create()
    ARM: omap2: use clkdev_add_alias()
    ARM: omap2: use clkdev_create()
    ARM: orion: use clkdev_create()
    ARM: lpc32xx: convert to use clkdev_add_table()
    SH: use clkdev_add_table()
    clkdev: add clkdev_create() helper
    clkdev: const-ify connection id to clk_add_alias()
    clkdev: get rid of redundant clk_add_alias() prototype in linux/clk.h
    clkdev: drop __init from clkdev_add_table()
    clk: update clk API documentation to clarify clk_round_rate()
    clkdev: use clk_hw internally

    Linus Torvalds
     

22 Jun, 2015

20 commits


19 Jun, 2015

2 commits


18 Jun, 2015

1 commit


17 Jun, 2015

1 commit

  • '047000278da3a17f8("ASoC: rsrc-card: cleanup for DPCM")'
    cleanuped rsrc-card driver, but then, unused ret was left.
    Below warning happen without this patch

    ${LINUX}/sound/soc/sh/rcar/rsrc-card.c: In function 'rsrc_card_startup':
    ${LINUX}/sound/soc/sh/rcar/rsrc-card.c:78:6: warning: unused variable \
    'ret' [-Wunused-variable]

    Reported-by: kbuild test robot
    Signed-off-by: Kuninori Morimoto
    Signed-off-by: Mark Brown

    Kuninori Morimoto
     

16 Jun, 2015

13 commits