22 May, 2008

1 commit


19 May, 2008

1 commit


24 Apr, 2008

3 commits


23 Feb, 2008

1 commit

  • Fix following warning:
    WARNING: vmlinux.o(.text+0x11ec01a): Section mismatch in reference from the function setup_card() to the function .devinit.text:snd_usb_caiaq_control_init()

    setup_card() are only used by init_card().
    init_card() are only used by snd_probe()
    snd_probe() are used for the .probe parameter in usb_driver.probe

    Annotate them all __devinit to fix the warning.

    Signed-off-by: Sam Ravnborg
    Signed-off-by: Takashi Iwai
    Signed-off-by: Linus Torvalds

    Sam Ravnborg
     

01 Feb, 2008

7 commits

  • This patch decreases the snd_pcm_hardware->period_bytes_min field in the
    caiaq/usb audio driver. The hardware can actually handle as few as 128
    bytes, depending on the system. So it makes no sense to keep
    applications from actually using such values.

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

    Daniel Mack
     
  • Fix section mismatch in caiaq: these __devinit functions can be
    called at any time so they should not be __devinit.
    WARNING: vmlinux.o(.text+0x10a8dae): Section mismatch: reference to .init.text:snd_usb_caiaq_audio_init (between 'setup_card' and 'create_card')
    WARNING: vmlinux.o(.text+0x10a8dd6): Section mismatch: reference to .init.text:snd_usb_caiaq_midi_init (between 'setup_card' and 'create_card')

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

    Randy Dunlap
     
  • 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: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Takashi Iwai
     
  • Added support for Native Instrument's Kore controller 2. This device has
    no audio but MIDI, input devices and ALSA controllers only.

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

    Daniel Mack
     
  • Remove ifdef and fix Makefile for conditional builds.

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

    Takashi Iwai
     
  • - added support for all input controllers on Native Instrument's 'Kore
    controller'.
    - added ALSA controls to switch LEDs on 'RigKontrol 2', 'RigKontrol3',
    'Audio Kontrol 1' and 'Kore controller'.
    - added ALSA controls to switch input mode, software lock and ground
    lift features on 'Audio 8 DJ'.

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

    Daniel Mack
     
  • - link input device with its parent so that it placed in proper spot
    in sysfs hierarchy
    - drivers that allow changing their keymaps should use private copy
    of the keymap so that one instance of a device does not affect
    another instance
    - it is preferred for drivers to properly set up input_dev->phys to
    help userspace locate devices
    - drivers should use usb_to_input_id(), or perform endianess conversion,
    themselves, otherwise ID is not correct on big-endian boxes
    - whitespace and formatting cleanup
    Acked-by: Daniel Mack

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

    Dmitry Torokhov
     

20 Oct, 2007

1 commit

  • get rid of input BIT* duplicate defines

    use newly global defined macros for input layer. Also remove includes of
    input.h from non-input sources only for BIT macro definiton. Define the
    macro temporarily in local manner, all those local definitons will be
    removed further in this patchset (to not break bisecting).
    BIT macro will be globally defined (1<
    Cc:
    Acked-by: Jiri Kosina
    Cc:
    Acked-by: Marcel Holtmann
    Cc:
    Acked-by: Mauro Carvalho Chehab
    Cc:
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jiri Slaby
     

16 Oct, 2007

2 commits


11 May, 2007

2 commits