msp3400c_setvolume(client, msp->muted, msp->volume, msp->balance); 
msp3400c_setvolume(client, msp->muted, msp->left, msp->right); 
static int msp34xxg_thread(void *data){	struct i2c_client *client = data;	struct msp3400c *msp = i2c_get_clientdata(client);	int val, std, i;	printk("msp34xxg: daemon started\n");	msp->source = 1; /* default */	for (;;) {		d2printk(KERN_DEBUG "msp34xxg: thread: sleep\n");		msp34xx_sleep(msp,-1);		d2printk(KERN_DEBUG "msp34xxg: thread: wakeup\n");	restart:		dprintk("msp34xxg: thread: restart scan\n");		msp->restart = 0;		if (kthread_should_stop())			break;		/* setup the chip*/		msp34xxg_init(client);		std = standard;		if (std != 0x01)			goto unmute;		/* watch autodetect */		dprintk("msp34xxg: triggered autodetect, waiting for result\n");		for (i = 0; i < 10; i++) {			if (msp34xx_sleep(msp,100))				goto restart;			/* check results */			val = msp3400c_read(client, I2C_MSP3400C_DEM, 0x7e);			if (val < 0x07ff) {				std = val;				break;			}			dprintk("msp34xxg: detection still in progress\n");		}		if (0x01 == std) {			dprintk("msp34xxg: detection still in progress after 10 tries. giving up.\n");			continue;		}	unmute:		dprintk("msp34xxg: current mode: %s (0x%04x)\n",			msp34xx_standard_mode_name(std), std);		/* unmute: dispatch sound to scart output, set scart volume */		dprintk("msp34xxg: unmute\n");		msp3400c_setbass(client, msp->bass);		msp3400c_settreble(client, msp->treble);		msp3400c_setvolume(client, msp->muted, msp->volume, msp->balance);		/* restore ACB */		if (msp3400c_write(client,				   I2C_MSP3400C_DFP,				   0x13, /* ACB */				   msp->acb))			return -1;	}	dprintk(KERN_DEBUG "msp34xxg: thread: exit\n");	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/6df840f20d1ff63fd13ed1bb3e186395ee800794/msp3400.c/buggy/drivers/media/video/msp3400.c