snd_printk("unable to create I2C bus\n"); 
snd_printk(KERN_ERR "unable to create I2C bus\n"); 
static int __devinit snd_ice1712_delta_init(ice1712_t *ice){	int err;	akm4xxx_t *ak;	/* determine I2C, DACs and ADCs */	switch (ice->eeprom.subvendor) {	case ICE1712_SUBDEVICE_AUDIOPHILE:		ice->num_total_dacs = 2;		ice->num_total_adcs = 2;		break;	case ICE1712_SUBDEVICE_DELTA410:		ice->num_total_dacs = 8;		ice->num_total_adcs = 2;		break;	case ICE1712_SUBDEVICE_DELTA44:	case ICE1712_SUBDEVICE_DELTA66:		ice->num_total_dacs = ice->omni ? 8 : 4;		ice->num_total_adcs = ice->omni ? 8 : 4;		break;	case ICE1712_SUBDEVICE_DELTA1010:	case ICE1712_SUBDEVICE_DELTA1010LT:	case ICE1712_SUBDEVICE_MEDIASTATION:		ice->num_total_dacs = 8;		ice->num_total_adcs = 8;		break;	case ICE1712_SUBDEVICE_DELTADIO2496:		ice->num_total_dacs = 4;	/* two AK4324 codecs */		break;	case ICE1712_SUBDEVICE_VX442:		ice->num_total_dacs = 4;		ice->num_total_adcs = 4;		break;	}	/* initialize spdif */	switch (ice->eeprom.subvendor) {	case ICE1712_SUBDEVICE_AUDIOPHILE:	case ICE1712_SUBDEVICE_DELTA410:	case ICE1712_SUBDEVICE_DELTA1010LT:	case ICE1712_SUBDEVICE_VX442:		if ((err = snd_i2c_bus_create(ice->card, "ICE1712 GPIO 1", NULL, &ice->i2c)) < 0) {			snd_printk("unable to create I2C bus\n");			return err;		}		ice->i2c->private_data = ice;		ice->i2c->ops = &ap_cs8427_i2c_ops;		if ((err = snd_ice1712_init_cs8427(ice, CS8427_BASE_ADDR)) < 0)			return err;		break;	case ICE1712_SUBDEVICE_DELTA1010:	case ICE1712_SUBDEVICE_MEDIASTATION:		ice->gpio.set_pro_rate = delta_1010_set_rate_val;		break;	case ICE1712_SUBDEVICE_DELTADIO2496:		ice->gpio.set_pro_rate = delta_1010_set_rate_val;		/* fall thru */	case ICE1712_SUBDEVICE_DELTA66:		ice->spdif.ops.open = delta_open_spdif;		ice->spdif.ops.setup_rate = delta_setup_spdif;		ice->spdif.ops.default_get = delta_spdif_default_get;		ice->spdif.ops.default_put = delta_spdif_default_put;		ice->spdif.ops.stream_get = delta_spdif_stream_get;		ice->spdif.ops.stream_put = delta_spdif_stream_put;		/* Set spdif defaults */		snd_ice1712_delta_cs8403_spdif_write(ice, ice->spdif.cs8403_bits);		break;	}	/* no analog? */	switch (ice->eeprom.subvendor) {	case ICE1712_SUBDEVICE_DELTA1010:	case ICE1712_SUBDEVICE_DELTADIO2496:	case ICE1712_SUBDEVICE_MEDIASTATION:		return 0;	}	/* second stage of initialization, analog parts and others */	ak = ice->akm = kmalloc(sizeof(akm4xxx_t), GFP_KERNEL);	if (! ak)		return -ENOMEM;	ice->akm_codecs = 1;	switch (ice->eeprom.subvendor) {	case ICE1712_SUBDEVICE_AUDIOPHILE:		err = snd_ice1712_akm4xxx_init(ak, &akm_audiophile, &akm_audiophile_priv, ice);		break;	case ICE1712_SUBDEVICE_DELTA410:		err = snd_ice1712_akm4xxx_init(ak, &akm_delta410, &akm_delta410_priv, ice);		break;	case ICE1712_SUBDEVICE_DELTA1010LT:		err = snd_ice1712_akm4xxx_init(ak, &akm_delta1010lt, &akm_delta1010lt_priv, ice);		break;	case ICE1712_SUBDEVICE_DELTA66:	case ICE1712_SUBDEVICE_DELTA44:		err = snd_ice1712_akm4xxx_init(ak, &akm_delta44, &akm_delta44_priv, ice);		break;	case ICE1712_SUBDEVICE_VX442:		err = snd_ice1712_akm4xxx_init(ak, &akm_vx442, &akm_vx442_priv, ice);		break;	default:		snd_BUG();		return -EINVAL;	}	return err;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/99b359ba10a582148c6725f428a33ba5356dd993/delta.c/buggy/sound/pci/ice1712/delta.c