On Fri, Sep 23, 2005, Christophe Massiot wrote: > With the latest svn trunk, I have to apply the attached patch. The patch
Attached...
Index: driver/ivtv-fileops.c =================================================================== --- driver/ivtv-fileops.c (revision 2702) +++ driver/ivtv-fileops.c (working copy) @@ -1613,6 +1613,11 @@ IVTV_DEBUG_INFO("Disabling digitizer\n"); dig = 0; itv->card->video_dec_func(itv, DECODER_ENABLE_OUTPUT, &dig); + + if (itv->options.tda9887 >= 0 && (itv->options.tuner == TUNER_LG_S001D_MK3 || itv->options.tuner == TUNER_PHILIPS_FM1216ME_MK3)) { + int config = 0; + ivtv_tda9887(itv, TDA9887_SET_CONFIG, &config); + } } void unmute_and_resume(struct ivtv *itv, int sleep) @@ -1636,6 +1641,11 @@ if (sleep) ivtv_sleep_timeout(HZ / 10, 0); + if (itv->options.tda9887 >= 0 && (itv->options.tuner == TUNER_LG_S001D_MK3 || itv->options.tuner == TUNER_PHILIPS_FM1216ME_MK3)) { + int config = TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE; + ivtv_tda9887(itv, TDA9887_SET_CONFIG, &config); + } + /* Unmute */ ivtv_audio_set_mute(itv, 0); IVTV_DEBUG_INFO("Finished with Mute\n"); Index: driver/ivtv-driver.c =================================================================== --- driver/ivtv-driver.c (revision 2702) +++ driver/ivtv-driver.c (working copy) @@ -1110,7 +1110,7 @@ itv->has_tda9887 variable to 1. */ if (itv->has_tda9887) { itv->hw_flags |= IVTV_HW_TDA9887; - if (itv->options.tuner == TUNER_LG_S001D_MK3) { + if (itv->options.tuner == TUNER_LG_S001D_MK3 || itv->options.tuner == TUNER_PHILIPS_FM1216ME_MK3) { int cfg = TDA9887_PORT1_ACTIVE|TDA9887_PORT2_ACTIVE; ivtv_tda9887(itv, TDA9887_SET_CONFIG, &cfg); }