Misc: import Jack Monitoring Interface from samsung
Jack monitor framework monitors jack events (e.g. earjack, usb) and then
export through /sys.
Both sound and usb driver has some dependency on this framework.
(FIXME: we should isolate this jack monitor framework, independent of sound or
usb patches)
For the sound driver, 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>
[Port to support CTP platform, and add FIXME]
Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>