11 Mar, 2013

7 commits


23 Jan, 2013

1 commit


16 Jan, 2013

4 commits


09 Jan, 2013

1 commit


07 Dec, 2012

1 commit

  • CONFIG_HOTPLUG is going away as an option. As result the __dev*
    markings will be going away.

    Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
    and __devexit.

    Signed-off-by: Bill Pemberton
    Signed-off-by: Takashi Iwai

    Bill Pemberton
     

03 Dec, 2012

3 commits


23 Nov, 2012

2 commits


08 Nov, 2012

1 commit

  • The RayDAT reports the sync status of its inputs in consecutive bit
    positions, so all we do in hdspm_s1_sync_check is to iterate over idx:

    status = hdspm_read(hdspm, HDSPM_RD_STATUS_1);

    lock = (status & (0x1<<private_value:

    HDSPM_SYNC_CHECK("WC SyncCheck", 0),
    HDSPM_SYNC_CHECK("AES SyncCheck", 1),
    HDSPM_SYNC_CHECK("SPDIF SyncCheck", 2),
    HDSPM_SYNC_CHECK("ADAT1 SyncCheck", 3),
    HDSPM_SYNC_CHECK("ADAT2 SyncCheck", 4),
    HDSPM_SYNC_CHECK("ADAT3 SyncCheck", 5),
    HDSPM_SYNC_CHECK("ADAT4 SyncCheck", 6),
    HDSPM_SYNC_CHECK("TCO SyncCheck", 7),
    HDSPM_SYNC_CHECK("SYNC IN SyncCheck", 8),

    The patch corrects the indicated sync flags by passing the proper index
    value to hdspm_s1_sync_check().

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

    Adrian Knoth
     

04 Nov, 2012

1 commit


20 Oct, 2012

9 commits


20 Aug, 2012

1 commit

  • Convert a nonnegative error return code to a negative one, as returned
    elsewhere in the function.

    A simplified version of the semantic match that finds this problem is as
    follows: (http://coccinelle.lip6.fr/)

    //
    (
    if@p1 (\(ret < 0\|ret != 0\))
    { ... return ret; }
    |
    ret@p1 = 0
    )
    ... when != ret = e1
    when != &ret
    *if(...)
    {
    ... when != ret = e2
    when forall
    return ret;
    }

    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Takashi Iwai

    Julia Lawall
     

31 May, 2012

1 commit


21 May, 2012

1 commit


08 May, 2012

1 commit

  • snd_hdsp uses its own ioctls to acquire config- and status information.
    Expose the corresponding ioctl handler via ioctl_compat, so that 32bit applications can use it on 64bit kernels.

    Signed-off-by: Andre Schramm
    Reviewed-by: Adrian Knoth
    Signed-off-by: Adrian Knoth
    Signed-off-by: Takashi Iwai

    Andre Schramm
     

24 Apr, 2012

1 commit


08 Mar, 2012

1 commit

  • snd_hdspm uses its own ioctls to acquire config- and status information.
    Expose the corresponding ioctl handler via ioctl_compat, so that 32bit
    applications can use it on 64bit kernels.

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

    Adrian Knoth
     

11 Jan, 2012

1 commit

  • 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

1 commit


08 Jan, 2012

1 commit


19 Dec, 2011

1 commit

  • module_param(bool) used to counter-intuitively take an int. In
    fddd5201 (mid-2009) we allowed bool or int/unsigned int using a messy
    trick.

    It's time to remove the int/unsigned int option. For this version
    it'll simply give a warning, but it'll break next kernel version.

    Signed-off-by: Rusty Russell
    Signed-off-by: Takashi Iwai

    Rusty Russell