#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.32.27
-# Fri Apr 1 20:19:39 2011
+# Fri Apr 8 11:38:34 2011
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
# CONFIG_ADC_RK28 is not set
CONFIG_ADC_RK29=y
# CONFIG_SPI_FPGA is not set
-# CONFIG_HEADSET_DET is not set
+CONFIG_HEADSET_DET=y
#
# PPS support
CONFIG_MFD_WM831X=y
# CONFIG_MFD_WM831X_I2C is not set
CONFIG_MFD_WM831X_SPI=y
+# CONFIG_MFD_WM831X_SPI_A22 is not set
# CONFIG_MFD_WM8350_I2C is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_MFD_MC13783 is not set
# CONFIG_CRC7 is not set
# CONFIG_LIBCRC32C is not set
CONFIG_ZLIB_INFLATE=y
+CONFIG_ZLIB_DEFLATE=y
CONFIG_DECOMPRESS_GZIP=y
CONFIG_REED_SOLOMON=y
CONFIG_REED_SOLOMON_ENC8=y
{
wm8994_codec_fnc_t **wm8994_fnc_ptr = wm8994_codec_sequence;
unsigned char wm8994_mode = wm8994_current_mode;
-
+unsigned int error_count = 0;
DBG("%s--%d::Enter\n",__FUNCTION__,__LINE__);
isWM8994SetChannel = true;
gpio_free(WM_EN_PIN);
msleep(50);
-
+ error_count ++;
+ if(error_count >= 10)
+ return;
wm8994_current_mode = null;
isSetChannelErr = false;
}
break;
case 's':
- AP_to_speakers();
+ recorder_and_AP_to_speakers();
break;
case 'h':
recorder_and_AP_to_headset();