13 Jan, 2012

1 commit

  • For historical reasons, we allow module_param(bool) to take an int (or
    an unsigned int). That's going away.

    A few drivers really want an int: they set it to -1 and a parameter
    will set it to 0 or 1. This sucks: reading them from sysfs will give
    'Y' for both -1 and 1, but if we change it to an int, then the users
    might be broken (if they did "param" instead of "param=1").

    Use a new 'bint' parser for them.

    (ntfs has a different problem: it needs an int for debug_msgs because
    it's also exposed via sysctl.)

    Cc: Steve Glendinning
    Cc: Jean Delvare
    Cc: Guenter Roeck
    Cc: Hoang-Nam Nguyen
    Cc: Christoph Raisch
    Cc: Roland Dreier
    Cc: Sean Hefty
    Cc: Hal Rosenstock
    Cc: linux390@de.ibm.com
    Cc: Anton Altaparmakov
    Cc: Jaroslav Kysela
    Cc: Takashi Iwai
    Cc: lm-sensors@lm-sensors.org
    Cc: linux-rdma@vger.kernel.org
    Cc: linux-s390@vger.kernel.org
    Cc: linux-ntfs-dev@lists.sourceforge.net
    Cc: alsa-devel@alsa-project.org
    Acked-by: Takashi Iwai (For the sound part)
    Acked-by: Guenter Roeck (For the hwmon driver)
    Signed-off-by: Rusty Russell

    Rusty Russell
     

12 Jan, 2012

1 commit


11 Jan, 2012

6 commits

  • When multiple headphone or other detectable output pins are present,
    the power-map has to be updated after resume appropriately, but the
    current driver doesn't check all pins but only the first pin (since
    it's enough to check it for the mute-behavior). This resulted in the
    silent output from the secondary outputs after PM resume.

    This patch fixes the problem by checking all pins at (re-)init time.

    Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=740347

    Cc:
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • All Xonar cards support S/PDIF input, but the cards without optical or
    coaxial plugs have only undocumented pin connectors. Support for the
    ST/STX was already added in a previous patch; this adds support for the
    D1/DX (JP2), DG (J5), DS (J5), and HDAV Slim (J12).

    Many thanks to Zoltan Miklos for testing the DS and DX.

    Signed-off-by: Clemens Ladisch
    Signed-off-by: Takashi Iwai

    Clemens Ladisch
     
  • This card shares PCI ids with Chaintec AV710. Therefore, it will not be
    detected automatically, it can only be activated by the module parameter
    model=sq210a.

    Signed-off-by: Pavel Hofman
    Signed-off-by: Takashi Iwai

    Pavel Hofman
     
  • When two different cards share the same PCI vendor/subvendor
    identification, allow card info based on model only.
    Do not require subvendor ID.

    Signed-off-by: Pavel Hofman
    Signed-off-by: Takashi Iwai

    Pavel Hofman
     
  • Add the capture pcm only if there is at least one ADC configured in
    the SYSCONF register.

    Signed-off-by: Pavel Hofman
    Signed-off-by: Takashi Iwai

    Pavel Hofman
     
  • Before, /proc/asound looked like this:

    2 [Default ]: HDSPM - RME RayDAT_f1cd85
    RME RayDAT S/N 0xf1cd85 at 0xf7300000, irq 18

    In case of a second HDSPM card, its name would be Default_1. This is
    cumbersome, because the order of the cards isn't stable across reboots.

    To help userspace tools referring to the correct card, this commit
    provides a unique id for each card:

    2 [HDSPMxf1cd85 ]: HDSPM - RME RayDAT_f1cd85
    RME RayDAT S/N 0xf1cd85 at 0xf7300000, irq 18

    In this example, userspace (configuration files) would then use
    hw:HDSPMxf1cd85 to choose the right card.

    The serial is masked to 24bits, so this string is always shorter than
    sixteen chars.

    Signed-off-by: Adrian Knoth
    Signed-off-by: Takashi Iwai

    Adrian Knoth
     

10 Jan, 2012

6 commits


08 Jan, 2012

13 commits


01 Jan, 2012

2 commits


22 Dec, 2011

11 commits