1. 14 2月, 2014 1 次提交
  2. 12 2月, 2014 1 次提交
  3. 08 11月, 2012 1 次提交
  4. 30 10月, 2012 1 次提交
  5. 03 9月, 2012 1 次提交
  6. 01 11月, 2011 1 次提交
  7. 04 10月, 2011 1 次提交
    • D
      ALSA: oss-mixer - use strlcpy() instead strcpy() · f92766bc
      Dan Carpenter 提交于
      This is mostly a static checker fix more than anything else.  We're
      copying from a 64 char buffer into a 44 char buffer.
      
      The 64 character buffer is str[] in snd_mixer_oss_build_test_all().
      The call tree is:
      	snd_mixer_oss_build_test_all()
      	-> snd_mixer_oss_build_test()
      	   -> snd_mixer_oss_build_test().
      
      We never actually do fill str[] buffer all the way to 64 characters.
      The longest string is:
      	sprintf(str, "%s Playback Switch", ptr->name);
      ptr->name is a 32 character buffer so 32 plus 16 characters for
      " Playback Switch" still puts us over the 44 limit from "id.name".
      
      Most likely ptr->name never gets filled to the limit, but we can't
      really change the size of that buffer so lets just use strlcpy() here
      and be safe.
      Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f92766bc
  8. 15 2月, 2011 1 次提交
  9. 11 10月, 2010 1 次提交
  10. 07 9月, 2010 1 次提交
  11. 13 4月, 2010 1 次提交
    • T
      ALSA: core - Define llseek fops · 02f4865f
      Takashi Iwai 提交于
      Set no_llseek to llseek file ops of each sound component (but for hwdep).
      This avoids the implicit BKL invocation via generic_file_llseek() used
      as default when fops.llseek is NULL.
      
      Also call nonseekable_open() at each open ops to ensure the file flags
      have no seek bit.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      02f4865f
  12. 05 11月, 2009 2 次提交
  13. 08 9月, 2009 1 次提交
  14. 07 4月, 2009 1 次提交
  15. 18 3月, 2009 1 次提交
    • V
      ALSA: oss-mixer - Fixes recording gain control · 36c7b833
      Viral Mehta 提交于
      At the time of initialization, SNDRV_MIXER_OSS_PRESENT_PVOLUME bit is not
      set for MIC (slot 7).
      So, the same should not be checked when an application tries to do gain
      control for audio recording devices.
      
      Just check slot->present for SNDRV_MIXER_OSS_PRESENT_CVOLUME independently.
      Verified with a simple application which opens /dev/dsp for recording and
      /dev/mixer for volume control.
      
      Have tested two usb audio mic devices.
      Signed-off-by: NViral Mehta <viral.mehta@einfochips.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      36c7b833
  16. 13 8月, 2008 1 次提交
  17. 24 4月, 2008 1 次提交
  18. 01 2月, 2008 1 次提交
    • T
      [ALSA] Remove sound/driver.h · 9004acc7
      Takashi Iwai 提交于
      This header file exists only for some hacks to adapt alsa-driver
      tree.  It's useless for building in the kernel.  Let's move a few
      lines in it to sound/core.h and remove it.
      With this patch, sound/driver.h isn't removed but has just a single
      compile warning to include it.  This should be really killed in
      future.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NJaroslav Kysela <perex@perex.cz>
      9004acc7
  19. 09 1月, 2008 1 次提交
  20. 16 10月, 2007 1 次提交
  21. 09 5月, 2007 1 次提交
  22. 13 2月, 2007 1 次提交
  23. 14 12月, 2006 1 次提交
    • R
      [PATCH] getting rid of all casts of k[cmz]alloc() calls · 5cbded58
      Robert P. J. Day 提交于
      Run this:
      
      	#!/bin/sh
      	for f in $(grep -Erl "\([^\)]*\) *k[cmz]alloc" *) ; do
      	  echo "De-casting $f..."
      	  perl -pi -e "s/ ?= ?\([^\)]*\) *(k[cmz]alloc) *\(/ = \1\(/" $f
      	done
      
      And then go through and reinstate those cases where code is casting pointers
      to non-pointers.
      
      And then drop a few hunks which conflicted with outstanding work.
      
      Cc: Russell King <rmk@arm.linux.org.uk>, Ian Molton <spyro@f2s.com>
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Kyle McMartin <kyle@mcmartin.ca>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jeff Dike <jdike@addtoit.com>
      Cc: Greg KH <greg@kroah.com>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Cc: Paul Fulghum <paulkf@microgate.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: Karsten Keil <kkeil@suse.de>
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      Cc: Jeff Garzik <jeff@garzik.org>
      Cc: James Bottomley <James.Bottomley@steeleye.com>
      Cc: Ian Kent <raven@themaw.net>
      Cc: Steven French <sfrench@us.ibm.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Neil Brown <neilb@cse.unsw.edu.au>
      Cc: Jaroslav Kysela <perex@suse.cz>
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5cbded58
  24. 23 9月, 2006 2 次提交
  25. 03 8月, 2006 1 次提交
  26. 23 6月, 2006 1 次提交
  27. 22 3月, 2006 1 次提交
  28. 03 1月, 2006 4 次提交
  29. 04 11月, 2005 2 次提交
  30. 12 9月, 2005 1 次提交
  31. 24 6月, 2005 1 次提交
  32. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4