OMAPDSS: VENC: fix NULL pointer dereference in DSS2 VENC sysfs debug attr on OMAP4
[zen-stable.git] / include / sound / wm8960.h
blob74e9a95529c502de158e6dd04426548135ad4b60
1 /*
2 * wm8960.h -- WM8960 Soc Audio driver platform data
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
9 #ifndef _WM8960_PDATA_H
10 #define _WM8960_PDATA_H
12 #define WM8960_DRES_400R 0
13 #define WM8960_DRES_200R 1
14 #define WM8960_DRES_600R 2
15 #define WM8960_DRES_150R 3
16 #define WM8960_DRES_MAX 3
18 struct wm8960_data {
19 bool capless; /* Headphone outputs configured in capless mode */
21 int dres; /* Discharge resistance for headphone outputs */
24 #endif