1. 02 1月, 2015 8 次提交
  2. 26 12月, 2014 1 次提交
  3. 22 11月, 2014 2 次提交
  4. 04 11月, 2014 1 次提交
  5. 21 10月, 2014 6 次提交
  6. 30 5月, 2014 1 次提交
  7. 14 5月, 2014 1 次提交
  8. 14 4月, 2014 1 次提交
  9. 08 4月, 2014 1 次提交
  10. 12 2月, 2014 1 次提交
  11. 13 11月, 2013 1 次提交
  12. 12 11月, 2013 1 次提交
    • T
      ALSA: msnd: Avoid duplicated driver name · 092f9cd1
      Takashi Iwai 提交于
      msnd_pinnacle.c is used for both snd-msnd-pinnacle and
      snd-msnd-classic drivers, and both should have different driver
      names.  Using the same driver name results in the sysfs warning for
      duplicated entries like
       kobject: 'msnd-pinnacle.7' (cec33408): kobject_release, parent   (null) (delayed)
       kobject: 'msnd-pinnacle' (cecd4980): kobject_release, parent cf3ad9b0 (delayed)
       ------------[ cut here ]------------
       WARNING: CPU: 0 PID: 1 at fs/sysfs/dir.c:486 sysfs_warn_dup+0x7d/0xa0()
       sysfs: cannot create duplicate filename '/bus/isa/drivers/msnd-pinnacle'
       ......
      Reported-by: NFengguang Wu <fengguang.wu@intel.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      092f9cd1
  13. 07 11月, 2013 2 次提交
  14. 28 8月, 2013 1 次提交
    • T
      ALSA: opti9xx: Fix conflicting driver object name · fb615499
      Takashi Iwai 提交于
      The recent commit to delay the release of kobject triggered NULL
      dereferences of opti9xx drivers.  The cause is that all
      snd-opti92x-ad1848, snd-opti92x-cs4231 and snd-opti93x drivers
      register the PnP card driver with the very same name, and also
      snd-opti92x-ad1848 and -cs4231 drivers register the ISA driver with
      the same name, too.  When these drivers are built in, quick
      "register-release-and-re-register" actions occur, and this results in
      Oops because of the same name is assigned to the kobject.
      
      The fix is simply to assign individual names.  As a bonus, by using
      KBUILD_MODNAME, the patch reduces more lines than it adds.
      
      The fix is based on the suggestion by Russell King.
      Reported-and-tested-by: NFengguang Wu <fengguang.wu@intel.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      fb615499
  15. 08 8月, 2013 1 次提交
  16. 29 5月, 2013 1 次提交
  17. 07 12月, 2012 2 次提交
  18. 25 10月, 2012 1 次提交
  19. 21 10月, 2012 1 次提交
    • J
      ALSA: sound/isa/opti9xx/miro.c: eliminate possible double free · edb66893
      Julia Lawall 提交于
      snd_miro_probe is a static function that is only called twice in the file
      that defines it.  At each call site, its argument is freed using
      snd_card_free.  Thus, there is no need for snd_miro_probe to call
      snd_card_free on its argument on any of its error exit paths.
      
      Because snd_card_free both reads the fields of its argument and kfrees its
      argments, the results of the second snd_card_free should be unpredictable.
      
      A simplified version of the semantic match that finds this problem is as
      follows: (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @r@
      identifier f,free,a;
      parameter list[n] ps;
      type T;
      expression e;
      @@
      
      f(ps,T a,...) {
        ... when any
            when != a = e
        if(...) { ... free(a); ... return ...; }
        ... when any
      }
      
      @@
      identifier r.f,r.free;
      expression x,a;
      expression list[r.n] xs;
      @@
      
      * x = f(xs,a,...);
        if (...) { ... free(a); ... return ...; }
      // </smpl>
      Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      edb66893
  20. 06 10月, 2012 1 次提交
  21. 29 8月, 2012 1 次提交
    • D
      ALSA: emu8000: fix emu8000 DRAM sized 512 KiB too small · 1338fc97
      David Flater 提交于
      v2:  Fixed result still wrong in the case of 512 KiB DRAM.  Oops.
      
      Applicable to 3.5.3 mainline.
      
      In emu8000.c, size_dram determines the amount of memory on the sound card by
      doing write/readback tests starting at 512 KiB and incrementing by 512 KiB.
      On success, detected_size is updated to the successful address and testing
      continues.  On failure, the loop is immediately exited.  The resulting
      detected_size is 512 KiB too small except in two special cases:
      
      1. If there is no memory, the initial 0 value of detected_size is used, which
         is correct.
      2. If the address space wraps around, detected_size is updated before the
         bailout, so the result is correct.
      
      The patch corrects all cases and was tested with an AWE64 Gold.  Before:
        EMU8000 [0x620]: 3584 Kb on-board memory detected
        asfxload 4GMGSMT.SF2 (4174814 B) fails.
      After:
        EMU8000 [0x620]: 4096 Kb on-board memory detected
        asfxload 4GMGSMT.SF2 succeeds.
      
      I do not have a card with 512 KiB to test with, but by forcibly enabling the
      added conditional I verified on the AWE64 Gold that it detects 512 KiB
      (successfully reading from the first memory location) and does not hang the
      card.
      
      C.f. Bug 46451 https://bugzilla.kernel.org/show_bug.cgi?id=46451Signed-off-by: NDavid Flater <dave@flaterco.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      1338fc97
  22. 24 8月, 2012 1 次提交
  23. 21 8月, 2012 2 次提交
    • O
      ALSA: introduce snd-cmi8328: C-Media CMI8328 driver · f9933487
      Ondrej Zary 提交于
      Introduce snd-cmi8328 driver for C-Media CMI8328-based sound cards, such as
      AudioExcel AV500.
      
      It supports PCM playback and capture (full-duplex) through wss_lib, gameport,
      OPL3 and MPU401. The AV500 card has onboard Dream wavetable synth connected
      to the MPU401 port and Aux 1 input internally which works too.
      The CDROM interface is not supported (as the drivers for these CDROMs were
      removed from the kernel some time ago).
      
      A separate driver is needed because CMI8328 is completely different chip to
      CMI8329/CMI8330. It's configured by magic registers (there's no PnP). Sound is
      provided by a real WSS codec (CS4231A) and the SB part is just a SB Pro
      emulation (for DOS games, useless for Linux).
      
      When SB is enabled, the CMI8328 chip disables access to the WSS codec,
      emulates SoundBlaster on one side and outputs sound data to the codec - so SB
      and WSS can't work together with this card. The WSS codec can do full duplex
      by itself so there's no need for crazy things like snd-cmi8330 does
      (combining SB and WSS parts into one driver).
      Signed-off-by: NOndrej Zary <linux@rainbow-software.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f9933487
    • O
      ALSA: snd-als100: fix suspend/resume · 53e1719f
      Ondrej Zary 提交于
      snd_card_als100_probe() does not set pcm field in struct snd_sb.
      As a result, PCM is not suspended and applications don't know that they need
      to resume the playback.
      
      Tested with Labway A381-F20 card (ALS120).
      Signed-off-by: NOndrej Zary <linux@rainbow-software.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      53e1719f
  24. 20 8月, 2012 1 次提交