*** ../revo.c 2003-09-11 14:41:48.000000000 -0700 --- revo.c.orig 2003-06-04 05:02:22.000000000 -0700 *************** *** 69,76 **** tmp = snd_akm4xxx_get(ak, 0, reg); tmp &= ~(0x03 << shift); tmp |= dfs << shift; ! // snd_akm4xxx_write(ak, 0, reg, tmp); ! snd_akm4xxx_set(ak, 0, reg, tmp); /* the value is written in reset(0) */ snd_akm4xxx_reset(ak, 0); } --- 69,75 ---- tmp = snd_akm4xxx_get(ak, 0, reg); tmp &= ~(0x03 << shift); tmp |= dfs << shift; ! snd_akm4xxx_write(ak, 0, reg, tmp); snd_akm4xxx_reset(ak, 0); } *************** *** 135,141 **** } /* second stage of initialization, analog parts and others */ ! ak = ice->akm = snd_kcalloc(sizeof(akm4xxx_t) * 2, GFP_KERNEL); if (! ak) return -ENOMEM; ice->akm_codecs = 2; --- 134,140 ---- } /* second stage of initialization, analog parts and others */ ! ak = ice->akm = kmalloc(sizeof(akm4xxx_t) * 2, GFP_KERNEL); if (! ak) return -ENOMEM; ice->akm_codecs = 2;