diff options
author | Vinod Koul <vinod.koul@intel.com> | 2014-08-04 05:34:19 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-16 18:06:30 -0400 |
commit | ea5edfe2f1ce5b2254a5ec4c1bb224fac48c3153 (patch) | |
tree | 9b72ed873678869713b5a70a613abc465f0333e7 | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff) |
ASoC: Intel: Fix to use byte control interface
Using a byte control interface instead of generic_params ioctl.
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | sound/soc/intel/sst-mfld-platform.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/soc/intel/sst-mfld-platform.h b/sound/soc/intel/sst-mfld-platform.h index 6c6a42c08e24..cc3a088df7dd 100644 --- a/sound/soc/intel/sst-mfld-platform.h +++ b/sound/soc/intel/sst-mfld-platform.h | |||
@@ -63,9 +63,7 @@ enum sst_controls { | |||
63 | SST_SND_BUFFER_POINTER = 0x05, | 63 | SST_SND_BUFFER_POINTER = 0x05, |
64 | SST_SND_STREAM_INIT = 0x06, | 64 | SST_SND_STREAM_INIT = 0x06, |
65 | SST_SND_START = 0x07, | 65 | SST_SND_START = 0x07, |
66 | SST_SET_BYTE_STREAM = 0x100A, | 66 | SST_MAX_CONTROLS = 0x07, |
67 | SST_GET_BYTE_STREAM = 0x100B, | ||
68 | SST_MAX_CONTROLS = SST_GET_BYTE_STREAM, | ||
69 | }; | 67 | }; |
70 | 68 | ||
71 | enum sst_stream_ops { | 69 | enum sst_stream_ops { |
@@ -129,7 +127,7 @@ struct compress_sst_ops { | |||
129 | struct sst_ops { | 127 | struct sst_ops { |
130 | int (*open) (struct snd_sst_params *str_param); | 128 | int (*open) (struct snd_sst_params *str_param); |
131 | int (*device_control) (int cmd, void *arg); | 129 | int (*device_control) (int cmd, void *arg); |
132 | int (*set_generic_params)(enum sst_controls cmd, void *arg); | 130 | int (*send_byte_stream)(struct snd_sst_bytes_v2 *bytes); |
133 | int (*close) (unsigned int str_id); | 131 | int (*close) (unsigned int str_id); |
134 | }; | 132 | }; |
135 | 133 | ||