Commit 6f7cb44b authored by Mark Brown's avatar Mark Brown

ASoC: Move WM8580 to normal I2C device probe

Refactor the WM8580 device registration to probe via standard I2C device
registration, registering the DAIs once the device has probed via I2C.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 2a9f0ba7
This diff is collapsed.
...@@ -28,11 +28,6 @@ ...@@ -28,11 +28,6 @@
#define WM8580_CLKSRC_OSC 4 #define WM8580_CLKSRC_OSC 4
#define WM8580_CLKSRC_NONE 5 #define WM8580_CLKSRC_NONE 5
struct wm8580_setup_data {
int i2c_bus;
unsigned short i2c_address;
};
#define WM8580_DAI_PAIFRX 0 #define WM8580_DAI_PAIFRX 0
#define WM8580_DAI_PAIFTX 1 #define WM8580_DAI_PAIFTX 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment