lkml.org 
[lkml]   [2011]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[52/78] ALSA: ctxfi - Fix incorrect SPDIF status bit mask
    2.6.38-stable review patch.  If anyone has any objections, please let us know.

    ------------------

    From: Przemyslaw Bruski <pbruskispam@op.pl>

    commit 4c1847e884efddcc3ede371f7839e5e65b25c34d upstream.

    SPDIF status mask creation was incorrect.

    Signed-off-by: Przemyslaw Bruski <pbruskispam@op.pl>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    sound/pci/ctxfi/ctatc.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/sound/pci/ctxfi/ctatc.c
    +++ b/sound/pci/ctxfi/ctatc.c
    @@ -869,7 +869,7 @@ spdif_passthru_playback_setup(struct ct_
    mutex_lock(&atc->atc_mutex);
    dao->ops->get_spos(dao, &status);
    if (((status >> 24) & IEC958_AES3_CON_FS) != iec958_con_fs) {
    - status &= ((~IEC958_AES3_CON_FS) << 24);
    + status &= ~(IEC958_AES3_CON_FS << 24);
    status |= (iec958_con_fs << 24);
    dao->ops->set_spos(dao, status);
    dao->ops->commit_write(dao);



    \
     
     \ /
      Last update: 2011-03-22 00:45    [W:0.020 / U:182.384 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site