static void audio_dock_notifier_func(enum usb_connect_type online)
{
	if (cable_get_accessory_type() != DOCK_STATE_AUDIO_DOCK) {
		pr_debug("accessory is not AUDIO_DOCK\n");
		return;
	}

	switch(online) {
	case CONNECT_TYPE_NONE:
		pr_debug("%s, VBUS is removed\n", __func__);
		
		msm_ext_spk_power_amp_off(DOCK_SPK_AMP_POS|DOCK_SPK_AMP_NEG);
		
		release_audio_dock_lock();
		break;
	default:
		break;
	}

	return;
}
static void audio_dock_notifier_func(enum usb_connect_type online)
{
	if (cable_get_accessory_type() != DOCK_STATE_AUDIO_DOCK) {
		pr_aud_info("accessory is not AUDIO_DOCK\n");
		return;
	}

	switch(online) {
	case CONNECT_TYPE_NONE:
		pr_aud_info("%s, VBUS is removed\n", __func__);
		/* disable Audio Dock GPIO */
		msm8960_ext_spk_power_amp_off(DOCK_SPK_AMP_POS|DOCK_SPK_AMP_NEG);
		/* release GPIO USB_ID_ADC and cable driver */
		release_audio_dock_lock();
		break;
	default:
		break;
	}

	return;
}