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>
This commit is contained in:
@@ -88,7 +88,6 @@ static const int wcd9xxx_cdc_types[] = {
|
||||
[WCD9330] = WCD9330,
|
||||
[WCD9335] = WCD9335,
|
||||
[WCD934X] = WCD934X,
|
||||
[WCD9360] = WCD9360,
|
||||
};
|
||||
|
||||
static const struct of_device_id wcd9xxx_of_match[] = {
|
||||
@@ -330,8 +329,7 @@ int wcd9xxx_slim_write_repeat(struct wcd9xxx *wcd9xxx, unsigned short reg,
|
||||
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 @@ static int wcd9xxx_slim_probe(struct slim_device *slim)
|
||||
* 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 @@ static const struct slim_device_id wcd_slim_device_id[] = {
|
||||
{"tomtom-slim-pgd", WCD9330},
|
||||
{"tasha-slim-pgd", WCD9335},
|
||||
{"tavil-slim-pgd", WCD934X},
|
||||
{"pahu-slim-pgd", WCD9360},
|
||||
{}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user