*** /c/linux/wonder/old/msp3400.c	Fri Mar 30 22:43:22 2001
--- /c/linux/wonder/new/msp3400.c	Thu Apr 26 23:20:44 2001
***************
*** 1363,1369 ****
  
  	case AUDC_SET_INPUT:
  #if 1
! 		dprintk(KERN_DEBUG "msp34xx: AUDC_SET_INPUT(%d)\n",*sarg);
  		/* hauppauge 44xxx scart switching */
  		msp->scart = 0;
  		switch (*sarg) {
--- 1363,1369 ----
  
  	case AUDC_SET_INPUT:
  #if 1
! 		dprintk("msp34xx: AUDC_SET_INPUT(%d)\n",*sarg);
  		/* hauppauge 44xxx scart switching */
  		msp->scart = 0;
  		switch (*sarg) {
***************
*** 1373,1380 ****
--- 1373,1390 ----
  		case AUDIO_EXTERN:
  			msp->scart   = 1;
  			msp3400c_set_scart(client,SCART_IN1,0);
+ 			/* for ATI-TV-wonder by Lukas Gebauer <geby@volny.cz> */
+ 			msp3400c_write(client,I2C_MSP3400C_DFP,0x000d,0x3000);
+ 			/* end modification */
  			msp3400c_write(client,I2C_MSP3400C_DFP,0x0008,0x0220);
  			break;
+ 		/* for ATI-TV-wonder by Lukas Gebauer <geby@volny.cz> */
+ 		case AUDIO_TUNER:
+ 			msp3400c_set_scart(client,SCART_IN1,0);
+ 			msp3400c_write(client,I2C_MSP3400C_DFP,0x000d,0x0000);
+ 			msp3400c_write(client,I2C_MSP3400C_DFP,0x0008,0x0020);
+ 			break;
+ 		/* end modification */
  		default:
  			if (*sarg & AUDIO_MUTE)
  				msp3400c_set_scart(client,SCART_MUTE,0);
