This patch series refactors function audio_mux() and fixes several issues related to muting/unmuting on probing and first open. Mute on last close will be fixed with further patches which are currently under review. Tested with a Hauppauge WinTV Theatre (model 37284, Rev B421). Frank Schäfer (8): bttv: audio_mux(): use a local variable "gpio_mute" instead of modifying the function parameter "mute" bttv: audio_mux(): do not change the value of the v4l2 mute control bttv: do not save the audio input in audio_mux() bttv: rename field 'audio' in struct 'bttv' to 'audio_input' bttv: separate GPIO part from function audio_mux() bttv: untangle audio input and mute setting bttv: do not unmute the device before the first open bttv: apply mute settings on open drivers/media/pci/bt8xx/bttv-cards.c | 2 +- drivers/media/pci/bt8xx/bttv-driver.c | 94 ++++++++++++++++++--------------- drivers/media/pci/bt8xx/bttvp.h | 2 +- 3 Dateien geändert, 52 Zeilen hinzugefügt(+), 46 Zeilen entfernt(-) -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html