asoc: clean up audio drivers and remove unused files
Clean up audio drivers and remove unused files.
Change-Id: I50559ac3c5f4a1f4336e4480cd3ff235d015441e
Signed-off-by: Meng Wang <mengw@codeaurora.org>
diff --git a/asoc/codecs/wcd9xxx-core.c b/asoc/codecs/wcd9xxx-core.c
index 76aea1a..4b7c580 100644
--- a/asoc/codecs/wcd9xxx-core.c
+++ b/asoc/codecs/wcd9xxx-core.c
@@ -88,7 +88,6 @@
[WCD9330] = WCD9330,
[WCD9335] = WCD9335,
[WCD934X] = WCD934X,
- [WCD9360] = WCD9360,
};
static const struct of_device_id wcd9xxx_of_match[] = {
@@ -330,8 +329,7 @@
struct slim_ele_access slim_msg;
mutex_lock(&wcd9xxx->io_lock);
- if (wcd9xxx->type == WCD9335 || wcd9xxx->type == WCD934X ||
- wcd9xxx->type == WCD9360) {
+ if (wcd9xxx->type == WCD9335 || wcd9xxx->type == WCD934X) {
ret = wcd9xxx_page_write(wcd9xxx, ®);
if (ret)
goto done;
@@ -1353,8 +1351,7 @@
* Vout_D to be ready after BUCK_SIDO is powered up.
* SYS_RST_N shouldn't be pulled high during this time
*/
- if (wcd9xxx->type == WCD9335 || wcd9xxx->type == WCD934X ||
- wcd9xxx->type == WCD9360)
+ if (wcd9xxx->type == WCD9335 || wcd9xxx->type == WCD934X)
usleep_range(600, 650);
else
usleep_range(5, 10);
@@ -1600,7 +1597,6 @@
{"tomtom-slim-pgd", WCD9330},
{"tasha-slim-pgd", WCD9335},
{"tavil-slim-pgd", WCD934X},
- {"pahu-slim-pgd", WCD9360},
{}
};