31 Mar, 2011

1 commit


11 Dec, 2009

1 commit


18 Nov, 2009

1 commit

  • Update control names to be more closer to their meaning.
    Change the "Mono" name to the "Beep" as this line is usually
    used to forward the PC beeper signal to sound card's output.
    Update names for both cs423x and wss.

    Clean up cs4235 controls according to the cs4235 doc. Rename
    some of the cs4235 controls to be consistent with the cs4236's
    ones.

    Also, delete one misnamed cs4231 register define.

    Signed-off-by: Krzysztof Helt
    Signed-off-by: Takashi Iwai

    Krzysztof Helt
     

06 Nov, 2009

1 commit

  • The cs4236 was two step detection with call to the snd_wss_free()
    between two steps. The snd_wss_free() did not free a sound device
    created in the snd_wss_create(). This caused an OOPS during module
    removal as the same sound device was released twice. The same OOPS
    happened if the cs4236 module loading failed.

    Fix this by adapting the snd_cs4236_create() to correctly work with
    chips less capable then cs4236. The snd_cs4236_create() behaves the
    same as the snd_wss_create() if the chip is less capable than the cs4236.

    Signed-off-by: Krzysztof Helt
    Signed-off-by: Takashi Iwai

    Krzysztof Helt
     

12 Oct, 2009

1 commit


10 Oct, 2009

1 commit


24 Mar, 2009

1 commit


17 Feb, 2009

1 commit

  • cs4232 and cs4236 driver merge to solve PnP BIOS detection.

    Also, the patch adds recognition if the chip is cs4236b+
    or earlier part. This unifies drivers for both cs4232
    and cs4236+ chips. It allows to use the PnP BIOS
    detection for the cs4236+ chips. Previously, only
    the snd-cs4232 could be detected by the PnP BIOS.

    The cs4232+ cards reports two separate PnP BIOS ids.

    The patch adds search for the second id to find out
    resources assigned to a control port.

    Signed-off-by: Krzysztof Helt
    Signed-off-by: Takashi Iwai

    Krzysztof Helt
     

05 Feb, 2009

1 commit


17 Jan, 2009

1 commit


11 Jan, 2009

1 commit


25 Aug, 2008

2 commits


13 Aug, 2008

2 commits


06 Aug, 2008

10 commits

  • Make snd_ad1848_probe() easier to follow. With an exception for only
    trying once as soon as the codec is out of init (which should be all
    that's needed) the detection logic should be unchanged.

    Signed-off-by: Rene Herman
    Acked-by: Krzysztof Helt
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Rene Herman
     
  • After the transition from cs4321_lib to wss_lib, azt2320 probe visits
    snd_ad1848_probe during detection. It expects register 0 (LEFT_INPUT)
    to be able to retain the value 0xaa during detection but AZT2320 does
    not support MIC gain meaning it reads back as 0x8a instead.

    Signed-off-by: Rene Herman
    Acked-by: Krzysztof Helt
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Rene Herman
     
  • Remove initializations of spinlock and mutexes which
    are done earlier in snd_wss_new(). The snd_wss_new()
    is called from snd_wss_create().

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

    Krzysztof Helt
     
  • Limit opti93x cards capture formats to only linear ones.

    Signed-off-by: Krzysztof Helt
    Reviewed-by: Rene Herman
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Krzysztof Helt
     
  • Use the wss detection code and kill the ad1848 library.
    The library is fully assimilated into the new wss library.

    This required reworking of the AD1848 family code
    so the code is changed to correctly detect chips from
    the AD1848 and CS4231 families.

    I have tested it on following cards:
    Gallant SC-6600 (codec: AD1848, driver: snd-sc6600)
    SoundScape VIVO/90 (codec: AD1845, driver: snd-sscape)
    SG Waverider (codec: CS4231A, driver: Rene Herman's snd-galaxy)
    Opti930 (codec: built-in - CS4231 compatible, driver: snd-opti93x)
    Opti931 (codec: built-in - CS4231 compatible, driver: snd-opti93x)
    Gallant SC-70P (chip/codec: CS4237B, driver: snd-cs4236)
    Audio Plus 3D (chip/codec: CMI8330A, driver: snd-cmi8330)
    Dell Latitude CP (chip/codec: cs4236, driver snd-cs4232)

    Sound playback and recording works on all these cards.

    Signed-off-by: Krzysztof Helt
    Reviewed-by: Rene Herman
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Krzysztof Helt
     
  • Use the wss pcm code and kill the ad1848 pcm code.

    The AD1848 chip is much slower than CS4231 chips
    so the waiting loop was increased 100x (10x is not
    enough).

    Signed-off-by: Krzysztof Helt
    Reviewed-by: Rene Herman
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Krzysztof Helt
     
  • Use the wss mixer code and kill the ad1848 mixer code.

    Signed-off-by: Krzysztof Helt
    Reviewed-by: Rene Herman
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Krzysztof Helt
     
  • Rename functions and structures from the former
    cs4321_lib to names more corresponding with the
    new name: wss_lib.

    Signed-off-by: Krzysztof Helt
    Reviewed-by: Rene Herman
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Krzysztof Helt
     
  • Rename file include/sound/cs4231.h
    into include/sound/wss.h

    Signed-off-by: Krzysztof Helt
    Reviewed-by: Rene Herman
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Krzysztof Helt
     
  • Move the file sound/isa/cs423x/cs4231_lib.c
    into sound/isa/cs423x/wss_lib.c
    This is the first step toward merging all libraries
    for Windows Sound System compatible chips
    into a single library.

    Signed-off-by: Krzysztof Helt
    Reviewed-by: Rene Herman
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Krzysztof Helt