X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=sound%2Fpci%2Fac97%2Fac97_pcm.c;h=48cbda9378c5fc2ed4b295f7731c44ae1a11e58c;hb=4c10c937cc2eb197db565392db91d429eec71176;hp=3758d07182f8013f2707971894ffe7a963c5ddf7;hpb=c730f5b621afa33e9f4939da9078669162ebff4e;p=karo-tx-linux.git diff --git a/sound/pci/ac97/ac97_pcm.c b/sound/pci/ac97/ac97_pcm.c index 3758d07182f8..48cbda9378c5 100644 --- a/sound/pci/ac97/ac97_pcm.c +++ b/sound/pci/ac97/ac97_pcm.c @@ -1,5 +1,5 @@ /* - * Copyright (c) by Jaroslav Kysela + * Copyright (c) by Jaroslav Kysela * Universal interface for Audio Codec '97 * * For more details look to AC '97 component specification revision 2.2 @@ -23,7 +23,6 @@ * */ -#include #include #include #include @@ -34,7 +33,6 @@ #include #include #include -#include "ac97_patch.h" #include "ac97_id.h" #include "ac97_local.h" @@ -576,7 +574,6 @@ int snd_ac97_pcm_open(struct ac97_pcm *pcm, unsigned int rate, r = rate > 48000; bus = pcm->bus; if (cfg == AC97_PCM_CFG_SPDIF) { - int err; for (cidx = 0; cidx < 4; cidx++) if (bus->codec[cidx] && (bus->codec[cidx]->ext_id & AC97_EI_SPDIF)) { err = set_spdif_rate(bus->codec[cidx], rate);