audio: export jack status through /sys/devices/platform/jack/earjack_online
authorvivian,zhang <vivian.zhang@intel.com>
Thu, 5 Sep 2013 08:22:13 +0000 (16:22 +0800)
committerYin Kangkai <kangkai.yin@linux.intel.com>
Thu, 26 Dec 2013 14:33:54 +0000 (22:33 +0800)
commit3cd7cdfac478f59e82d179d848c50500b41b2e41
tree8db8f723f4855300ca751d54811de1f0f6d2c718
parent9bb4746dd23fb330bb49960466f1ae1603a64197
audio: export jack status through /sys/devices/platform/jack/earjack_online

Sound driver should set jack status: earjack_online, the status is
required for earjack type detecting in avsystem (Tizen audio middleware
project), which is used for enabling speaker & headset runtime switch feature

Change-Id: I1be3eb575b8d1af48f76e4d55bae9490c967fc32
Signed-off-by: Vivian Zhang <vivian.zhang@intel.com>
sound/soc/codecs/cs42l73.c