1. 13 Sep, 2011 1 commit
  2. 26 Aug, 2011 1 commit
  3. 25 Aug, 2011 1 commit
  4. 24 Aug, 2011 5 commits
  5. 23 Aug, 2011 3 commits
  6. 22 Aug, 2011 11 commits
  7. 20 Aug, 2011 3 commits
  8. 19 Aug, 2011 1 commit
    • Takashi Iwai's avatar
      ALSA: usb-audio - Fix missing mixer dB information · 38b65190
      Takashi Iwai authored
      The recent fix for testing dB range at the mixer creation time seems
      to cause regressions in some devices.  In such devices, reading the dB
      info at probing time gives an error, thus both dBmin and dBmax are still
      zero, and TLV flag isn't set although the later read of dB info succeeds.
      
      This patch adds a workaround for such a case by assuming that the later
      read will succeed.  In future, a similar test should be performed in a
      case where a wrong dB range is seen even in the later read.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      Cc: <stable@kernel.org>
      38b65190
  9. 18 Aug, 2011 2 commits
  10. 17 Aug, 2011 1 commit
    • Sascha Hauer's avatar
      ASoC: Fix check for symmetric rate enforcement · 25b76791
      Sascha Hauer authored
      The ASoC core tries to not enforce symmetric rates when
      two streams open simultaneously. It does so by checking
      rtd->rate being zero. This works exactly once after booting
      because it is not set to zero again when the streams close.
      Fix this by setting rtd->rate when no active stream is left.
      
      [This leads to lots of warnings about not enforcing the symmetry in some
      situations as there's a race in the userspace API where we know we've
      got two applications but don't know what rates they want to set.
      -- broonie ]
      Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      25b76791
  11. 16 Aug, 2011 1 commit
  12. 15 Aug, 2011 8 commits
  13. 14 Aug, 2011 2 commits
    • Daniel Mack's avatar
      ALSA: snd_usb_caiaq: track submitted output urbs · da6094ea
      Daniel Mack authored
      The snd_usb_caiaq driver currently assumes that output urbs are serviced
      in time and doesn't track when and whether they are given back by the
      USB core. That usually works fine, but due to temporary limitations of
      the XHCI stack, we faced that urbs were submitted more than once with
      this approach.
      
      As it's no good practice to fire and forget urbs anyway, this patch
      introduces a proper bit mask to track which requests have been submitted
      and given back.
      
      That alone however doesn't make the driver work in case the host
      controller is broken and doesn't give back urbs at all, and the output
      stream will stop once all pre-allocated output urbs are consumed. But
      it does prevent crashes of the controller stack in such cases.
      
      See http://bugzilla.kernel.org/show_bug.cgi?id=40702 for more details.
      Signed-off-by: default avatarDaniel Mack <zonque@gmail.com>
      Reported-and-tested-by: default avatarMatej Laitl <matej@laitl.cz>
      Cc: Sarah Sharp <sarah.a.sharp@linux.intel.com>
      Cc: stable@kernel.org
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      da6094ea
    • Vasily Khoruzhick's avatar
      ASoC: rx1950: Fix compilation error due to missing header · b8487928
      Vasily Khoruzhick authored
      Add linux/types.h to fix this compilation error:
      
      In file included from arch/arm/mach-s3c2410/include/mach/gpio-fns.h:27:0,
                       from arch/arm/mach-s3c2410/include/mach/gpio.h:27,
                       from /home/anarsoul/work/pda-linux/linux-next/arch/arm/include/asm/gpio.h:5,
                       from include/linux/gpio.h:18,
                       from sound/soc/samsung/rx1950_uda1380.c:20:
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:29:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘s3c_gpio_pull_t’
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:30:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘s5p_gpio_drvstr_t’
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:57:2: error: expected specifier-qualifier-list before ‘s3c_gpio_pull_t’
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:148:47: error: expected declaration specifiers or ‘...’ before ‘s3c_gpio_pull_t’
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:156:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘s3c_gpio_getpull’
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:175:24: error: expected declaration specifiers or ‘...’ before ‘s3c_gpio_pull_t’
      arch/arm/plat-samsung/include/plat/gpio-cfg.h: In function ‘s3c_gpio_cfgrange_nopull’:
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:180:47: error: ‘s3c_gpio_pull_t’ undeclared (first use in this function)
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:180:47: note: each undeclared identifier is reported only once for each function it appears in
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:180:47: error: expected ‘)’ before numeric constant
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:180:47: error: too many arguments to function ‘s3c_gpio_cfgall_range’
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:174:12: note: declared here
      arch/arm/plat-samsung/include/plat/gpio-cfg.h: At top level:
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:199:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘s5p_gpio_get_drvstr’
      arch/arm/plat-samsung/include/plat/gpio-cfg.h:210:50: error: expected declaration specifiers or ‘...’ before ‘s5p_gpio_drvstr_t’
      Signed-off-by: default avatarVasily Khoruzhick <anarsoul@gmail.com>
      Acked-by: default avatarJassi Brar <jassisinghbrar@gmail.com>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      b8487928