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:
@@ -38,16 +38,6 @@
|
||||
|
||||
static enum wcd9xxx_intf_status wcd9xxx_intf = -1;
|
||||
|
||||
static struct mfd_cell pahu_devs[] = {
|
||||
{
|
||||
.name = "qcom-wcd-pinctrl",
|
||||
.of_compatible = "qcom,wcd-pinctrl",
|
||||
},
|
||||
{
|
||||
.name = "pahu_codec",
|
||||
},
|
||||
};
|
||||
|
||||
static struct mfd_cell tavil_devs[] = {
|
||||
{
|
||||
.name = "qcom-wcd-pinctrl",
|
||||
@@ -490,8 +480,7 @@ int wcd9xxx_page_write(struct wcd9xxx *wcd9xxx, unsigned short *reg)
|
||||
unsigned short c_reg, reg_addr;
|
||||
u8 pg_num, prev_pg_num;
|
||||
|
||||
if (wcd9xxx->type != WCD9335 && wcd9xxx->type != WCD934X &&
|
||||
wcd9xxx->type != WCD9360)
|
||||
if (wcd9xxx->type != WCD9335 && wcd9xxx->type != WCD934X)
|
||||
return ret;
|
||||
|
||||
c_reg = *reg;
|
||||
@@ -888,10 +877,6 @@ int wcd9xxx_get_codec_info(struct device *dev)
|
||||
}
|
||||
|
||||
switch (wcd9xxx->type) {
|
||||
case WCD9360:
|
||||
cinfo->dev = pahu_devs;
|
||||
cinfo->size = ARRAY_SIZE(pahu_devs);
|
||||
break;
|
||||
case WCD934X:
|
||||
cinfo->dev = tavil_devs;
|
||||
cinfo->size = ARRAY_SIZE(tavil_devs);
|
||||
|
Reference in New Issue
Block a user