16 Aug, 2013

2 commits


15 Aug, 2013

5 commits


12 Aug, 2013

6 commits


08 Aug, 2013

1 commit

  • The driver used to assume that the streaming endpoint's wMaxPacketSize
    value would be an indication of how much data the endpoint expects or
    sends, and compute the number of packets per URB using this value.

    However, the Focusrite Scarlett 2i4 declares a value of 1024 bytes,
    while only about 88 or 44 bytes are be actually used. This discrepancy
    would result in URBs with far too few packets, which would not work
    correctly on the EHCI driver.

    To get correct URBs, use wMaxPacketSize only as an upper limit on the
    packet size.

    Reported-by: James Stone
    Tested-by: James Stone
    Cc: # 2.6.35+
    Signed-off-by: Clemens Ladisch
    Signed-off-by: Takashi Iwai

    Clemens Ladisch
     

07 Aug, 2013

3 commits


02 Aug, 2013

2 commits

  • A fixup for Apple Mac Mini was lost during the adaption to the generic
    parser because the fallback for the generic ID 8384:7680 was dropped,
    and it resulted in the silence output (and maybe other problems).

    Unfortunately, just adding the missing subsystem ID wasn't enough, in
    this case. The subsystem ID of this machine is 0000:0100 (what Apple
    thought...?), and since snd_hda_pick_fixup() doesn't take the vendor
    id zero into account, the driver ignored this entry. Now it's fixed
    to regard the vendor id zero as a valid value.

    Reported-and-tested-by: Linus Torvalds
    Cc: [v3.9+]
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • list_first_entry() will always return a valid pointer, even if the list is
    empty. So the check whether path is NULL will always be false. So we end up
    calling dapm_create_or_share_mixmux_kcontrol() with a path struct that points
    right in the middle of the widget struct and by trying to modify the path the
    widgets memory will become corrupted. Fix this by using list_emtpy() to check if
    the widget doesn't have any paths.

    Signed-off-by: Lars-Peter Clausen
    Tested-by: Stephen Warren
    Signed-off-by: Mark Brown
    Cc: stable@vger.kernel.org

    Lars-Peter Clausen
     

01 Aug, 2013

6 commits


31 Jul, 2013

2 commits

  • If kzalloc() fails for `img' then we are going to leak the memory
    for `out'. We are freeing the memory of all the tx/rx transfers
    but the tx/rx buf pointers will be NULL if we drop out earlier.

    Signed-off-by: Dimitris Papastamos
    Signed-off-by: Mark Brown

    Dimitris Papastamos
     
  • d8b51c11ff5a70244753ba60abfd47088cf4dcd4 [ASoC: ac97c: Use
    module_platform_driver()] broke the build:

    CC sound/soc/au1x/ac97c.o
    /home/ralf/src/linux/upstream-sfr/sound/soc/au1x/ac97c.c:344:1: error: expected identifier or ‘(’ before ‘&’ token
    /home/ralf/src/linux/upstream-sfr/sound/soc/au1x/ac97c.c:344:1: error: pasting "__initcall_" and "&" does not give a valid preprocessing token
    /home/ralf/src/linux/upstream-sfr/sound/soc/au1x/ac97c.c:344:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘&’ token
    /home/ralf/src/linux/upstream-sfr/sound/soc/au1x/ac97c.c:344:1: error: expected identifier or ‘(’ before ‘&’ token
    /home/ralf/src/linux/upstream-sfr/sound/soc/au1x/ac97c.c:344:1: error: pasting "__exitcall_" and "&" does not give a valid preprocessing token
    /home/ralf/src/linux/upstream-sfr/sound/soc/au1x/ac97c.c:344:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘&’ token
    /home/ralf/src/linux/upstream-sfr/sound/soc/au1x/ac97c.c:334:31: warning: ‘au1xac97c_driver’ defined but not used [-Wunused-variable]
    make[5]: *** [sound/soc/au1x/ac97c.o] Error 1
    make[4]: *** [sound/soc/au1x] Error 2
    make[3]: *** [sound/soc] Error 2

    Signed-off-by: Ralf Baechle
    Signed-off-by: Mark Brown

    Ralf Baechle
     

30 Jul, 2013

2 commits

  • If CONFIG_SND_BF5XX_HAVE_COLD_RESET is enabled building the blackfin ac97 driver
    fails with the following compile error:
    sound/soc/blackfin/bf5xx-ac97.c: In function ‘asoc_bfin_ac97_probe’:
    sound/soc/blackfin/bf5xx-ac97.c:297: error: expected ‘;’ before ‘{’ token
    sound/soc/blackfin/bf5xx-ac97.c:302: error: label ‘gpio_err’ used but not defined

    The issue was introduced in commit 6dab2fd7 ("ASoC: bf5xx-ac97: Convert to
    devm_gpio_request_one()").

    Signed-off-by: Lars-Peter Clausen
    Signed-off-by: Mark Brown

    Lars-Peter Clausen
     
  • As part of the multiplatform refactoring for AC'97 the AC'97 bus ops were
    staticised meaning that the prototype (which was never needed) conflicts
    with the declaration causing build failures.

    Signed-off-by: Mark Brown
    Acked-by: Lars-Peter Clausen

    Mark Brown
     

29 Jul, 2013

1 commit


24 Jul, 2013

7 commits


22 Jul, 2013

2 commits


21 Jul, 2013

1 commit