Logo
Explore Help
Register Sign In
Evolution-x-devices/kernel_google_b1c1
2
0
Fork 0
You've already forked kernel_google_b1c1
mirror of https://github.com/Evolution-X-Devices/kernel_google_b1c1 synced 2026-02-09 00:43:12 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
bcdedcc1afd6ac91e15cb90aedaf8432f62fed13
kernel_google_b1c1/include/linux/platform_data/asoc-mx27vis.h

12 lines
246 B
C
Raw Normal View History

ASoC: mx27vis: retrieve gpio numbers from platform_data Rather than including mach/iomux-mx27.h to define gpio numbers and set up the pins, the patch moves all these into machine code and has the gpio numbers passed to driver via platform_data. As the result, we can remove the mach/iomux-mx27.h inclusion from driver. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Javier Martin <javier.martin@vista-silicon.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-09-17 13:34:31 +08:00
#ifndef __PLATFORM_DATA_ASOC_MX27VIS_H
#define __PLATFORM_DATA_ASOC_MX27VIS_H
struct snd_mx27vis_platform_data {
int amp_gain0_gpio;
int amp_gain1_gpio;
int amp_mutel_gpio;
int amp_muter_gpio;
};
#endif /* __PLATFORM_DATA_ASOC_MX27VIS_H */
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 2563ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API