Add snapshot for audio drivers for MSM targets. The code is migrated from msm-3.18 kernel at the below commit/AU level - AU_LINUX_ANDROID_LA.HB.1.3.1.06.00.00.187.056 (e70ad0cd5efdd9dc91a77dcdac31d6132e1315c1) (Promotion of kernel.lnx.3.18-151201.) Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
18 lines
404 B
C
18 lines
404 B
C
#ifndef __AUDIO_SLIMSLAVE_H__
|
|
#define __AUDIO_SLIMSLAVE_H__
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/ioctl.h>
|
|
|
|
#define AUDIO_SLIMSLAVE_IOCTL_NAME "audio_slimslave"
|
|
#define AUDIO_SLIMSLAVE_MAGIC 'S'
|
|
|
|
#define AUDIO_SLIMSLAVE_IOCTL_UNVOTE _IO(AUDIO_SLIMSLAVE_MAGIC, 0x00)
|
|
#define AUDIO_SLIMSLAVE_IOCTL_VOTE _IO(AUDIO_SLIMSLAVE_MAGIC, 0x01)
|
|
|
|
enum {
|
|
AUDIO_SLIMSLAVE_UNVOTE,
|
|
AUDIO_SLIMSLAVE_VOTE
|
|
};
|
|
|
|
#endif
|