Merge remote-tracking branches 'asoc/topic/cs42l56', 'asoc/topic/cs42xx8' and 'asoc/topic/davinci' into asoc-next
This commit is contained in:
@@ -74,11 +74,9 @@ struct wm8962_priv {
|
||||
struct regulator_bulk_data supplies[WM8962_NUM_SUPPLIES];
|
||||
struct notifier_block disable_nb[WM8962_NUM_SUPPLIES];
|
||||
|
||||
#if IS_ENABLED(CONFIG_INPUT)
|
||||
struct input_dev *beep;
|
||||
struct work_struct beep_work;
|
||||
int beep_rate;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_GPIOLIB
|
||||
struct gpio_chip gpio_chip;
|
||||
@@ -3154,7 +3152,6 @@ int wm8962_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack)
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(wm8962_mic_detect);
|
||||
|
||||
#if IS_ENABLED(CONFIG_INPUT)
|
||||
static int beep_rates[] = {
|
||||
500, 1000, 2000, 4000,
|
||||
};
|
||||
@@ -3286,15 +3283,6 @@ static void wm8962_free_beep(struct snd_soc_codec *codec)
|
||||
|
||||
snd_soc_update_bits(codec, WM8962_BEEP_GENERATOR_1, WM8962_BEEP_ENA,0);
|
||||
}
|
||||
#else
|
||||
static void wm8962_init_beep(struct snd_soc_codec *codec)
|
||||
{
|
||||
}
|
||||
|
||||
static void wm8962_free_beep(struct snd_soc_codec *codec)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
static void wm8962_set_gpio_mode(struct wm8962_priv *wm8962, int gpio)
|
||||
{
|
||||
|
مرجع در شماره جدید
Block a user