20 May, 2015

1 commit

  • The recently added DT support for the ac97 driver is causing
    a gcc warning:

    sound/atmel/ac97c.c: In function 'atmel_ac97c_probe_dt':
    sound/atmel/ac97c.c:919:29: warning: unused variable 'match' [-Wunused-variable]
    const struct of_device_id *match;

    The variable is clearly unused, so we can remove it.

    Signed-off-by: Arnd Bergmann
    Acked-by: Alexander Stein
    Signed-off-by: Takashi Iwai

    Arnd Bergmann
     

07 Jan, 2015

1 commit


27 Dec, 2014

1 commit

  • at91 will no longer export the mach/cpu.h and mach/hardware.h header files
    in the future, which would break building the atmel ac97c driver.

    Since the cpu_is_* check is only used to find out whether we are running
    on avr32 or arm/at91, we can hardcode that check in the ARM case.

    Signed-off-by: Arnd Bergmann
    Link: http://www.spinics.net/lists/arm-kernel/msg382068.html
    Signed-off-by: Alexandre Belloni
    Signed-off-by: Takashi Iwai

    Arnd Bergmann
     

15 Dec, 2014

1 commit

  • Pull driver core update from Greg KH:
    "Here's the set of driver core patches for 3.19-rc1.

    They are dominated by the removal of the .owner field in platform
    drivers. They touch a lot of files, but they are "simple" changes,
    just removing a line in a structure.

    Other than that, a few minor driver core and debugfs changes. There
    are some ath9k patches coming in through this tree that have been
    acked by the wireless maintainers as they relied on the debugfs
    changes.

    Everything has been in linux-next for a while"

    * tag 'driver-core-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (324 commits)
    Revert "ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries"
    fs: debugfs: add forward declaration for struct device type
    firmware class: Deletion of an unnecessary check before the function call "vunmap"
    firmware loader: fix hung task warning dump
    devcoredump: provide a one-way disable function
    device: Add dev__once variants
    ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries
    ath: use seq_file api for ath9k debugfs files
    debugfs: add helper function to create device related seq_file
    drivers/base: cacheinfo: remove noisy error boot message
    Revert "core: platform: add warning if driver has no owner"
    drivers: base: support cpu cache information interface to userspace via sysfs
    drivers: base: add cpu_device_create to support per-cpu devices
    topology: replace custom attribute macros with standard DEVICE_ATTR*
    cpumask: factor out show_cpumap into separate helper function
    driver core: Fix unbalanced device reference in drivers_probe
    driver core: fix race with userland in device_add()
    sysfs/kernfs: make read requests on pre-alloc files use the buffer.
    sysfs/kernfs: allow attributes to request write buffer be pre-allocated.
    fs: sysfs: return EGBIG on write if offset is larger than file size
    ...

    Linus Torvalds
     

06 Dec, 2014

3 commits

  • Clocks must be prepared before enabling them. Do this in one step.
    Replace clk_enable with clk_prepare_enable and clk_disable with
    clk_disable_unprepare.

    Signed-off-by: Alexander Stein
    Signed-off-by: Takashi Iwai

    Alexander Stein
     
  • Clocks must be prepared before enabling them. Do this in one step.
    Replace clk_enable with clk_prepare_enable and clk_disable with
    clk_disable_unprepare. This fixes the following warning:
    ------------[ cut here ]------------
    WARNING: CPU: 0 PID: 1 at drivers/clk/clk.c:895 __clk_enable+0x24/0x9c()
    Modules linked in:
    CPU: 0 PID: 1 Comm: swapper Tainted: G W 3.18.0-rc7+ #245
    [] (unwind_backtrace) from [] (show_stack+0x10/0x14)
    [] (show_stack) from [] (warn_slowpath_common+0x60/0x80)
    [] (warn_slowpath_common) from [] (warn_slowpath_null+0x18/0x20)
    [] (warn_slowpath_null) from [] (__clk_enable+0x24/0x9c)
    [] (__clk_enable) from [] (clk_enable+0x18/0x2c)
    [] (clk_enable) from [] (atmel_ac97c_probe+0x154/0x694)
    [] (atmel_ac97c_probe) from [] (platform_drv_probe+0x48/0x94)
    [] (platform_drv_probe) from [] (driver_probe_device+0x138/0x350)
    [] (driver_probe_device) from [] (__driver_attach+0x68/0x8c)
    [] (__driver_attach) from [] (bus_for_each_dev+0x70/0x84)
    [] (bus_for_each_dev) from [] (bus_add_driver+0xfc/0x1f8)
    [] (bus_add_driver) from [] (driver_register+0x9c/0xe0)
    [] (driver_register) from [] (do_one_initcall+0x110/0x1c8)
    [] (do_one_initcall) from [] (kernel_init_freeable+0xf8/0x1b8)
    [] (kernel_init_freeable) from [] (kernel_init+0x8/0xe4)
    [] (kernel_init) from [] (ret_from_fork+0x14/0x24)
    ---[ end trace cb88537fdc8fa201 ]---
    atmel_ac97c fffa0000.sound: AC'97 0 does not respond - RESET
    atmel_ac97c fffa0000.sound: AC'97 0 access is not valid [0xffffffff], removing mixer.
    ------------[ cut here ]------------

    Signed-off-by: Alexander Stein
    Signed-off-by: Takashi Iwai

    Alexander Stein
     
  • chip->pdev->id is -1 by default. This is an invalid index resulting in
    device file names like /dev/snd/pcmC0D-1p.

    Signed-off-by: Alexander Stein
    Signed-off-by: Takashi Iwai

    Alexander Stein
     

20 Oct, 2014

1 commit


15 Oct, 2014

1 commit


11 Sep, 2014

1 commit

  • There is a common storage for platform data related structures and definitions
    inside kernel source tree. The patch moves file from include/linux to
    include/linux/platform_data and renames it acoordingly. The users are also
    updated.

    Signed-off-by: Andy Shevchenko
    Acked-by: Viresh Kumar
    [For the arch/avr32/.* and .*sound/atmel.*]
    Acked-by: Hans-Christian Egtvedt
    Signed-off-by: Vinod Koul

    Andy Shevchenko
     

16 Apr, 2014

1 commit


14 Feb, 2014

1 commit


16 Dec, 2013

1 commit


11 Dec, 2013

1 commit

  • Treat both negative and zero return values from clk_round_rate()
    as errors. This is needed since subsequent patches will convert
    clk_round_rate()'s return value to be an unsigned type, rather
    than a signed type, since some clock sources can generate rates higher
    than (2^31)-1 Hz.

    Eventually, when calling clk_round_rate(), only a return value of
    zero will be considered a error; all other values will be
    considered valid rates. The comparison against values less than
    0 is kept to preserve the correct behavior in the meantime.

    Signed-off-by: Paul Walmsley
    Acked-by: Hans-Christian Egtvedt
    Cc: Nicolas Ferre
    Signed-off-by: Takashi Iwai

    Paul Walmsley
     

02 Dec, 2013

1 commit

  • The static checker found a possible array overflow in atmel/abdac.c:
    static checker warning: "sound/atmel/abdac.c:373 set_sample_rates()
    error: buffer overflow 'dac->rates' 6 rates[]
    update not overflowing the actual array size.

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

    Takashi Iwai
     

05 Nov, 2013

1 commit


03 May, 2013

1 commit


29 Apr, 2013

1 commit


07 Dec, 2012

1 commit


20 Aug, 2012

2 commits

  • In the first case, the second test of whether retval is negative is
    redundant. It is dropped and the previous and subsequent tests are
    combined.

    In the second case, add an initialization of retval on failure of ioremap.

    A simplified version of the semantic match that finds this problem is as
    follows: (http://coccinelle.lip6.fr/)

    //
    (
    if@p1 (\(ret < 0\|ret != 0\))
    { ... return ret; }
    |
    ret@p1 = 0
    )
    ... when != ret = e1
    when != &ret
    *if(...)
    {
    ... when != ret = e2
    when forall
    return ret;
    }

    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Takashi Iwai

    Julia Lawall
     
  • Initialize retval before returning from a failed call to ioremap.

    A simplified version of the semantic match that finds this problem is as
    follows: (http://coccinelle.lip6.fr/)

    //
    (
    if@p1 (\(ret < 0\|ret != 0\))
    { ... return ret; }
    |
    ret@p1 = 0
    )
    ... when != ret = e1
    when != &ret
    *if(...)
    {
    ... when != ret = e2
    when forall
    return ret;
    }

    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Takashi Iwai

    Julia Lawall
     

09 Aug, 2012

1 commit


03 Jul, 2012

1 commit


02 Jul, 2012

1 commit


11 May, 2012

1 commit


22 Feb, 2012

1 commit


18 Jan, 2012

1 commit

  • * 'next' of git://git.infradead.org/users/vkoul/slave-dma: (53 commits)
    ARM: mach-shmobile: specify CHCLR registers on SH7372
    dma: shdma: fix runtime PM: clear channel buffers on reset
    dma/imx-sdma: save irq flags when use spin_lock in sdma_tx_submit
    dmaengine/ste_dma40: clear LNK on channel startup
    dmaengine: intel_mid_dma: remove legacy pm interface
    ASoC: mxs: correct 'direction' of device_prep_dma_cyclic
    dmaengine: intel_mid_dma: error path fix
    dmaengine: intel_mid_dma: locking and freeing fixes
    mtd: gpmi-nand: move to dma_transfer_direction
    mtd: fix compile error for gpmi-nand
    mmc: mxs-mmc: fix the dma_transfer_direction migration
    dmaengine: add DMA_TRANS_NONE to dma_transfer_direction
    dma: mxs-dma: Don't use CLKGATE bits in CTRL0 to disable DMA channels
    dma: mxs-dma: make mxs_dma_prep_slave_sg() multi user safe
    dma: mxs-dma: Always leave mxs_dma_init() with the clock disabled.
    dma: mxs-dma: fix a typo in comment
    DMA: PL330: Remove pm_runtime_xxx calls from pl330 probe/remove
    video i.MX IPU: Fix display connections
    i.MX IPU DMA: Fix wrong burstsize settings
    dmaengine/ste_dma40: allow fixed physical channel
    ...

    Fix up conflicts in drivers/dma/{Kconfig,mxs-dma.c,pl330.c}

    The conflicts looked pretty trivial, but I'll ask people to verify them.

    Linus Torvalds
     

19 Dec, 2011

1 commit


31 Oct, 2011

1 commit


11 Jul, 2011

1 commit


28 Jun, 2011

1 commit


10 Jun, 2011

1 commit


26 Jan, 2011

1 commit


22 Nov, 2010

2 commits


08 Jun, 2010

1 commit


26 Mar, 2010

2 commits


06 Apr, 2009

2 commits