mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02:00
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>
This commit is contained in:
@@ -7,14 +7,6 @@
|
||||
#ifndef __SOUND_H__
|
||||
#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,
|
||||
@@ -25,7 +17,6 @@ enum sound_compat {
|
||||
struct sound_codec_info {
|
||||
int i2c_bus;
|
||||
int i2c_dev_addr;
|
||||
enum sound_codec codec_type;
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user