Ignore:
Timestamp:
Jul 16, 2008, 11:53:49 AM (17 years ago)
Author:
Paul Smedley
Message:

Update uniaud32-2.0 branch to ALSA 1.0.17

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-2.0/alsa-kernel/pci/fm801.c

    r305 r358  
    12861286static int snd_fm801_chip_init(struct fm801 *chip, int resume)
    12871287{
    1288         int id;
    12891288        unsigned short cmdw;
    12901289
     
    13111310                        /* my card has the secondary codec */
    13121311                        /* at address #3, so the loop is inverted */
    1313                         for (id = 3; id > 0; id--) {
    1314                                 if (! wait_for_codec(chip, id, AC97_VENDOR_ID1,
     1312                        int i;
     1313                        for (i = 3; i > 0; i--) {
     1314                                if (!wait_for_codec(chip, i, AC97_VENDOR_ID1,
    13151315                                                     msecs_to_jiffies(50))) {
    13161316                                        cmdw = inw(FM801_REG(chip, AC97_DATA));
    13171317                                        if (cmdw != 0xffff && cmdw != 0) {
    13181318                                                chip->secondary = 1;
    1319                                                 chip->secondary_addr = id;
     1319                                                chip->secondary_addr = i;
    13201320                                                break;
    13211321                                        }
Note: See TracChangeset for help on using the changeset viewer.