Merge remote-tracking branches 'asoc/topic/dwc', 'asoc/topic/fsl', 'asoc/topic/gpio-chip' and 'asoc/topic/hdmi' into asoc-next
Этот коммит содержится в:
@@ -726,7 +726,7 @@ static const struct regmap_config fsl_asrc_regmap_config = {
|
||||
.readable_reg = fsl_asrc_readable_reg,
|
||||
.volatile_reg = fsl_asrc_volatile_reg,
|
||||
.writeable_reg = fsl_asrc_writeable_reg,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_FLAT,
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -879,7 +879,7 @@ static int fsl_asrc_probe(struct platform_device *pdev)
|
||||
}
|
||||
}
|
||||
|
||||
if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx35-asrc")) {
|
||||
if (of_device_is_compatible(np, "fsl,imx35-asrc")) {
|
||||
asrc_priv->channel_bits = 3;
|
||||
clk_map[IN] = input_clk_map_imx35;
|
||||
clk_map[OUT] = output_clk_map_imx35;
|
||||
@@ -892,7 +892,7 @@ static int fsl_asrc_probe(struct platform_device *pdev)
|
||||
ret = fsl_asrc_init(asrc_priv);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "failed to init asrc %d\n", ret);
|
||||
return -EINVAL;
|
||||
return ret;
|
||||
}
|
||||
|
||||
asrc_priv->channel_avail = 10;
|
||||
@@ -901,14 +901,14 @@ static int fsl_asrc_probe(struct platform_device *pdev)
|
||||
&asrc_priv->asrc_rate);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "failed to get output rate\n");
|
||||
return -EINVAL;
|
||||
return ret;
|
||||
}
|
||||
|
||||
ret = of_property_read_u32(np, "fsl,asrc-width",
|
||||
&asrc_priv->asrc_width);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "failed to get output width\n");
|
||||
return -EINVAL;
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (asrc_priv->asrc_width != 16 && asrc_priv->asrc_width != 24) {
|
||||
@@ -933,8 +933,6 @@ static int fsl_asrc_probe(struct platform_device *pdev)
|
||||
return ret;
|
||||
}
|
||||
|
||||
dev_info(&pdev->dev, "driver registered\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@@ -77,19 +77,19 @@ static irqreturn_t esai_isr(int irq, void *devid)
|
||||
regmap_read(esai_priv->regmap, REG_ESAI_ESR, &esr);
|
||||
|
||||
if (esr & ESAI_ESR_TINIT_MASK)
|
||||
dev_dbg(&pdev->dev, "isr: Transmition Initialized\n");
|
||||
dev_dbg(&pdev->dev, "isr: Transmission Initialized\n");
|
||||
|
||||
if (esr & ESAI_ESR_RFF_MASK)
|
||||
dev_warn(&pdev->dev, "isr: Receiving overrun\n");
|
||||
|
||||
if (esr & ESAI_ESR_TFE_MASK)
|
||||
dev_warn(&pdev->dev, "isr: Transmition underrun\n");
|
||||
dev_warn(&pdev->dev, "isr: Transmission underrun\n");
|
||||
|
||||
if (esr & ESAI_ESR_TLS_MASK)
|
||||
dev_dbg(&pdev->dev, "isr: Just transmitted the last slot\n");
|
||||
|
||||
if (esr & ESAI_ESR_TDE_MASK)
|
||||
dev_dbg(&pdev->dev, "isr: Transmition data exception\n");
|
||||
dev_dbg(&pdev->dev, "isr: Transmission data exception\n");
|
||||
|
||||
if (esr & ESAI_ESR_TED_MASK)
|
||||
dev_dbg(&pdev->dev, "isr: Transmitting even slots\n");
|
||||
@@ -781,7 +781,7 @@ static const struct regmap_config fsl_esai_regmap_config = {
|
||||
.readable_reg = fsl_esai_readable_reg,
|
||||
.volatile_reg = fsl_esai_volatile_reg,
|
||||
.writeable_reg = fsl_esai_writeable_reg,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_FLAT,
|
||||
};
|
||||
|
||||
static int fsl_esai_probe(struct platform_device *pdev)
|
||||
|
@@ -801,8 +801,8 @@ static int fsl_sai_probe(struct platform_device *pdev)
|
||||
|
||||
sai->pdev = pdev;
|
||||
|
||||
if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx6sx-sai") ||
|
||||
of_device_is_compatible(pdev->dev.of_node, "fsl,imx6ul-sai"))
|
||||
if (of_device_is_compatible(np, "fsl,imx6sx-sai") ||
|
||||
of_device_is_compatible(np, "fsl,imx6ul-sai"))
|
||||
sai->sai_on_imx = true;
|
||||
|
||||
sai->is_lsb_first = of_property_read_bool(np, "lsb-first");
|
||||
@@ -883,7 +883,7 @@ static int fsl_sai_probe(struct platform_device *pdev)
|
||||
}
|
||||
|
||||
if (of_find_property(np, "fsl,sai-mclk-direction-output", NULL) &&
|
||||
of_device_is_compatible(pdev->dev.of_node, "fsl,imx6ul-sai")) {
|
||||
of_device_is_compatible(np, "fsl,imx6ul-sai")) {
|
||||
gpr = syscon_regmap_lookup_by_compatible("fsl,imx6ul-iomuxc-gpr");
|
||||
if (IS_ERR(gpr)) {
|
||||
dev_err(&pdev->dev, "cannot find iomuxc registers\n");
|
||||
|
@@ -1103,7 +1103,7 @@ static const struct regmap_config fsl_spdif_regmap_config = {
|
||||
.readable_reg = fsl_spdif_readable_reg,
|
||||
.volatile_reg = fsl_spdif_volatile_reg,
|
||||
.writeable_reg = fsl_spdif_writeable_reg,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_FLAT,
|
||||
};
|
||||
|
||||
static u32 fsl_spdif_txclk_caldiv(struct fsl_spdif_priv *spdif_priv,
|
||||
|
@@ -182,7 +182,7 @@ static const struct regmap_config fsl_ssi_regconfig = {
|
||||
.volatile_reg = fsl_ssi_volatile_reg,
|
||||
.precious_reg = fsl_ssi_precious_reg,
|
||||
.writeable_reg = fsl_ssi_writeable_reg,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_FLAT,
|
||||
};
|
||||
|
||||
struct fsl_ssi_soc_data {
|
||||
|
Ссылка в новой задаче
Block a user