summaryrefslogtreecommitdiff
path: root/drivers/staging/intel_sst/jack.h
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2010-10-05 15:25:17 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-05 20:24:04 (GMT)
commitfffa1cca3db6ac0ce612bc52f5cbd23b6672566f (patch)
treee9591609cd452d21d1bfa26f578e931131efbd07 /drivers/staging/intel_sst/jack.h
parenta747d4b817daf95c64ac6396e27fddc66c83a811 (diff)
downloadlinux-fffa1cca3db6ac0ce612bc52f5cbd23b6672566f.tar.xz
Staging: sst: Intel SST audio driver
This is the Intel SST audio driver. As compared to the previous versions it has all the printks and other stuff noted cleaned up and more hardware support. The Aava support is disabled in this patch (is_aava resolves to 0) because the Aava board detection logic is not yet upstream. The driver itself is a combination of a traditional ALSA driver and a hardware assisted offload driver which can play audio while the processor is asleep but which can't do all the more interactive stuff. In the general case most software would use the ALSA interface, but the other interface is needed for certain classes of use such as music playback on highly power consumption sensitive devices. This is going to staging primarily because it depends upon the staging memrar driver. Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Harsha Priya <priya.harsha@intel.com> [Merged together and tweaked for -next] Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/intel_sst/jack.h')
-rw-r--r--drivers/staging/intel_sst/jack.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/staging/intel_sst/jack.h b/drivers/staging/intel_sst/jack.h
new file mode 100644
index 0000000..9a6e483
--- /dev/null
+++ b/drivers/staging/intel_sst/jack.h
@@ -0,0 +1,10 @@
+/* Temporary staging glue */
+
+#include <sound/jack.h>
+
+/* These want adding to jack.h as enum entries once approved */
+
+#define SND_JACK_HS_SHORT_PRESS (SND_JACK_HEADSET | 0x0020)
+#define SND_JACK_HS_LONG_PRESS (SND_JACK_HEADSET | 0x0040)
+
+