Re: [PATCH 4/4] em28xx: get rid of structs em28xx_ac97_mode and em28xx_audio_mode

2014-09-23 Thread Frank Schäfer
Am 23.09.2014 um 02:02 schrieb Mauro Carvalho Chehab: > Em Sat, 13 Sep 2014 10:52:22 +0200 > Frank Schäfer escreveu: > >> Now that we have enum em28xx_int_audio (none/i2s/ac97), it is no longer >> necessary to check dev->audio_mode.ac97 to determine the type of internal >> audio connection. >> T

Re: [PATCH 4/4] em28xx: get rid of structs em28xx_ac97_mode and em28xx_audio_mode

2014-09-22 Thread Mauro Carvalho Chehab
Em Sat, 13 Sep 2014 10:52:22 +0200 Frank Schäfer escreveu: > Now that we have enum em28xx_int_audio (none/i2s/ac97), it is no longer > necessary to check dev->audio_mode.ac97 to determine the type of internal > audio connection. > There is also no need to save the type of the detected AC97 chip.

[PATCH 4/4] em28xx: get rid of structs em28xx_ac97_mode and em28xx_audio_mode

2014-09-13 Thread Frank Schäfer
Now that we have enum em28xx_int_audio (none/i2s/ac97), it is no longer necessary to check dev->audio_mode.ac97 to determine the type of internal audio connection. There is also no need to save the type of the detected AC97 chip. So replce the remaining checks of dev->audio_mode.ac97 with equival