11 Jan
2011
11 Jan
'11
11:35 a.m.
On Tue, Jan 11, 2011 at 11:36:13AM +0000, Dimitris Papastamos wrote:
if (i == card->num_configs) { /* no need to override the compress_type so * go ahead and do the standard thing */
ret = snd_soc_init_codec_cache(codec, 0);
if (ret < 0) {
mutex_unlock(&card->mutex);
return;
}
continue;
}compress_type = 0;
Even simpler would be to init compress_type to zero and remove the check.