summaryrefslogtreecommitdiff
path: root/include/sound.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-12-03 04:37:23 -0700
committerSimon Glass <sjg@chromium.org>2018-12-13 16:32:49 -0700
commit7153ad834f72da49eadf8b5e66d593f88514be7c (patch)
treef81b3793882be83af227f26e27992e06b608a485 /include/sound.h
parentccf0425e3208cbc17f08411651c1197da3b38f3a (diff)
downloadu-boot-7153ad834f72da49eadf8b5e66d593f88514be7c.tar.gz
u-boot-7153ad834f72da49eadf8b5e66d593f88514be7c.tar.bz2
u-boot-7153ad834f72da49eadf8b5e66d593f88514be7c.zip
dm: sound: Drop codec_type
This field is not really used. It is always set to a known value. Drop it to simplify the code. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/sound.h')
-rw-r--r--include/sound.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/sound.h b/include/sound.h
index 149e12dbc6..c4ac3193fe 100644
--- a/include/sound.h
+++ b/include/sound.h
@@ -8,14 +8,6 @@
#define __SOUND_H__
/* sound codec enum */
-enum sound_codec {
- CODEC_WM_8994,
- CODEC_WM_8995,
- CODEC_MAX_98095,
- CODEC_MAX
-};
-
-/* sound codec enum */
enum sound_compat {
AUDIO_COMPAT_SPI,
AUDIO_COMPAT_I2C,
@@ -25,7 +17,6 @@ enum sound_compat {
struct sound_codec_info {
int i2c_bus;
int i2c_dev_addr;
- enum sound_codec codec_type;
};
/*