22 May, 2007

1 commit

  • First thing mm.h does is including sched.h solely for can_do_mlock() inline
    function which has "current" dereference inside. By dealing with can_do_mlock()
    mm.h can be detached from sched.h which is good. See below, why.

    This patch
    a) removes unconditional inclusion of sched.h from mm.h
    b) makes can_do_mlock() normal function in mm/mlock.c
    c) exports can_do_mlock() to not break compilation
    d) adds sched.h inclusions back to files that were getting it indirectly.
    e) adds less bloated headers to some files (asm/signal.h, jiffies.h) that were
    getting them indirectly

    Net result is:
    a) mm.h users would get less code to open, read, preprocess, parse, ... if
    they don't need sched.h
    b) sched.h stops being dependency for significant number of files:
    on x86_64 allmodconfig touching sched.h results in recompile of 4083 files,
    after patch it's only 3744 (-8.3%).

    Cross-compile tested on

    all arm defconfigs, all mips defconfigs, all powerpc defconfigs,
    alpha alpha-up
    arm
    i386 i386-up i386-defconfig i386-allnoconfig
    ia64 ia64-up
    m68k
    mips
    parisc parisc-up
    powerpc powerpc-up
    s390 s390-up
    sparc sparc-up
    sparc64 sparc64-up
    um-x86_64
    x86_64 x86_64-up x86_64-defconfig x86_64-allnoconfig

    as well as my two usual configs.

    Signed-off-by: Alexey Dobriyan
    Signed-off-by: Linus Torvalds

    Alexey Dobriyan
     

16 May, 2007

8 commits

  • This patch makes sure that short USB replies are treated as an
    error when requesting the value of a certain mixer control.

    Signed-off-by: Thomas Reitmayr
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Thomas Reitmayr
     
  • Included is a patch against current alsa-kernel hg tip adding
    quirks that Ubuntu Dapper/Edgy/Feisty contains.

    Signed-off-by: Daniel T Chen
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Daniel T Chen
     
  • isa_register_driver() returns an error if no device is found
    and it's no fatal error for the drivers with pnp support.

    Signed-off-by: Rene Herman
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Rene Herman
     
  • Fixed some platform no sound and Add JD Function for below platform list:
    Sony(0x104d) 0x9015, 0x900e, 0x1f00
    Toshiba(0x1179) DALLAS 0xff00, 0xff01
    Targa(0x1462) 0x28fb
    Asus(0x1043) A7J 0x060d
    Lenovo(0x17aa) 0x3bfd, 0x2085
    MEDION(0x17c0) MD2 0x4071

    Signed-off-by: Kailang Yang
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Kailang Yang
     
  • This patch fixes a bug whereby AC97 bus device data was being clobbered
    when AC97 codecs using the generic ac97_codec.c driver were being
    registered. Codecs that didn't use the generic driver were unaffected
    (e.g. WM9712, WM9713).
    Changes:-
    o Add new AC97 codec class for custom (or need bus dev registration)
    AC97 codecs.
    o Only register/deregister this custom codec device with the AC97 bus.
    The generic AC97 driver already does this for generic codec devices.
    This may be related to bug #3038 :-
    https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3038

    Signed-off-by: Liam Girdwood
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Liam Girdwood
     
  • This patch fixes a bug whereby the GPL'ed symbol ac97_dai was being
    declared as static.

    Signed-off-by: Liam Girdwood
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Liam Girdwood
     
  • In some cases, mixer elements return -EINVAL because it couldn't
    obtain proper amp_cap bits. The patch improves the robustness,
    trying the amp_cap query again in such a case.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Takashi Iwai
     
  • This patch adds the ID for another quickcam microphone, reported by freqmod
    on ALSA ticket #0003040
    I'm going to submit a USB patch separately to provide a macro to simplify these
    entries, as suggested by Alan Stern. We could switch to using that in future.

    Signed-off-by: Daniel Drake
    Signed-off-by: Clemens Ladisch
    Signed-off-by: Jaroslav Kysela

    Daniel Drake
     

11 May, 2007

31 commits