diff options
author | vivian, zhang <vivian.zhang@intel.com> | 2012-06-25 12:09:17 +0800 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2012-07-12 14:45:46 +0300 |
commit | 2b45454c4d5f4b3467eceb10e41bb26fccbbcb94 (patch) | |
tree | 676277f2824de7b93a80e32f7be6bf2cff97468b /include/linux | |
parent | 670100dad26d86f968cfee829bcb8f8e54994ecd (diff) | |
download | kernel-mfld-blackbay-2b45454c4d5f4b3467eceb10e41bb26fccbbcb94.tar.gz kernel-mfld-blackbay-2b45454c4d5f4b3467eceb10e41bb26fccbbcb94.tar.bz2 kernel-mfld-blackbay-2b45454c4d5f4b3467eceb10e41bb26fccbbcb94.zip |
Sound: import Jack Monitoring Interface from samsung
It is used to set jack status: earjack_online, earkey_online;
these status are required for earjack type detecting in avsystem project.
Signed-off-by: Vivian Zhang <vivian.zhang@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/jack.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/linux/jack.h b/include/linux/jack.h new file mode 100644 index 00000000000..9593cd72a7d --- /dev/null +++ b/include/linux/jack.h @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2009 Samsung Electronics + * Minkyu Kang <mk7.kang@samsung.com> + * + * 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 __JACK_H_ +#define __JACK_H_ + +struct jack_platform_data { + int usb_online; + int charger_online; + int hdmi_online; + int earjack_online; + int earkey_online; + int ums_online; + int cdrom_online; + int jig_online; + int host_online; +}; + +int jack_get_data(const char *name); +void jack_event_handler(const char *name, int value); + +#endif |