/* * linux/sound/wm8993.h -- Platform data for WM8993 * * Copyright 2009 Wolfson Microelectronics. PLC. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef __LINUX_SND_WM8993_H #define __LINUX_SND_WM8993_H /* Note that EQ1 only contains the enable/disable bit so will be ignored but is included for simplicity. */ struct wm8993_retune_mobile_setting { const char *name; unsigned int rate; u16 config[24]; }; struct wm8993_platform_data { struct wm8993_retune_mobile_setting *retune_configs; int num_retune_configs; /* LINEOUT can be differential or single ended */ unsigned int lineout1_diff:1; unsigned int lineout2_diff:1; /* Common mode feedback */ unsigned int lineout1fb:1; unsigned int lineout2fb:1; /* Delay to add for microphones to stabalise after power up */ int micbias1_delay; int micbias2_delay; /* Microphone biases: 0=0.9*AVDD1 1=0.65*AVVD1 */ unsigned int micbias1_lvl:1; unsigned int micbias2_lvl:1; /* Jack detect threshold levels, see datasheet for values */ unsigned int jd_scthr:2; unsigned int jd_thr:2; }; #endif >nds-private-remove net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/sound/soc/atmel/atmel-pcm-dma.c
diff options
context:
space:
mode:
authorManuel Lauss <manuel.lauss@gmail.com>2017-01-24 10:12:00 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-01-24 10:27:34 -0800
commit3f5c34c6d4688b3b7e1dbc7bbc68a2f03a0d6b0c (patch)
treeb9387d85890c4466d9cf3d3145c95e0b07235234 /sound/soc/atmel/atmel-pcm-dma.c
parent62ed8ceda1699acae01b666497f004bfd3d67a6f (diff)
Input: wm97xx - make missing platform data non-fatal
Commit 6480af4915d6 ("power_supply: wm97xx_battery: use power_supply_get_drvdata") made wm97xx platform data mandatory, although it's still optional. This patch fixes an oops during driver probe on one of my MIPS boards with a wm9712. Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com> Reviewed-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'sound/soc/atmel/atmel-pcm-dma.c')