Skip to content

Commit 4ef9848

Browse files
committed
Merge remote-tracking branches 'asoc/topic/dwc', 'asoc/topic/fsl' and 'asoc/topic/max98371' into asoc-next
4 parents d90da88 + 35397ed + f3d8ac8 + 408ef7e commit 4ef9848

File tree

4 files changed

+7
-12
lines changed

4 files changed

+7
-12
lines changed

sound/soc/codecs/max98371.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,6 @@ MODULE_DEVICE_TABLE(of, max98371_of_match);
426426
static struct i2c_driver max98371_i2c_driver = {
427427
.driver = {
428428
.name = "max98371",
429-
.owner = THIS_MODULE,
430429
.pm = NULL,
431430
.of_match_table = of_match_ptr(max98371_of_match),
432431
},

sound/soc/dwc/designware_i2s.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,6 @@ static int dw_configure_dai_by_dt(struct dw_i2s_dev *dev,
577577
dev->capability |= DWC_I2S_PLAY;
578578
dev->play_dma_data.dt.addr = res->start + I2S_TXDMA;
579579
dev->play_dma_data.dt.addr_width = bus_widths[idx];
580-
dev->play_dma_data.dt.chan_name = "TX";
581580
dev->play_dma_data.dt.fifo_size = fifo_depth *
582581
(fifo_width[idx2]) >> 8;
583582
dev->play_dma_data.dt.maxburst = 16;
@@ -588,7 +587,6 @@ static int dw_configure_dai_by_dt(struct dw_i2s_dev *dev,
588587
dev->capability |= DWC_I2S_RECORD;
589588
dev->capture_dma_data.dt.addr = res->start + I2S_RXDMA;
590589
dev->capture_dma_data.dt.addr_width = bus_widths[idx];
591-
dev->capture_dma_data.dt.chan_name = "RX";
592590
dev->capture_dma_data.dt.fifo_size = fifo_depth *
593591
(fifo_width[idx2] >> 8);
594592
dev->capture_dma_data.dt.maxburst = 16;

sound/soc/fsl/fsl_asrc.c

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ static int fsl_asrc_probe(struct platform_device *pdev)
879879
}
880880
}
881881

882-
if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx35-asrc")) {
882+
if (of_device_is_compatible(np, "fsl,imx35-asrc")) {
883883
asrc_priv->channel_bits = 3;
884884
clk_map[IN] = input_clk_map_imx35;
885885
clk_map[OUT] = output_clk_map_imx35;
@@ -892,7 +892,7 @@ static int fsl_asrc_probe(struct platform_device *pdev)
892892
ret = fsl_asrc_init(asrc_priv);
893893
if (ret) {
894894
dev_err(&pdev->dev, "failed to init asrc %d\n", ret);
895-
return -EINVAL;
895+
return ret;
896896
}
897897

898898
asrc_priv->channel_avail = 10;
@@ -901,14 +901,14 @@ static int fsl_asrc_probe(struct platform_device *pdev)
901901
&asrc_priv->asrc_rate);
902902
if (ret) {
903903
dev_err(&pdev->dev, "failed to get output rate\n");
904-
return -EINVAL;
904+
return ret;
905905
}
906906

907907
ret = of_property_read_u32(np, "fsl,asrc-width",
908908
&asrc_priv->asrc_width);
909909
if (ret) {
910910
dev_err(&pdev->dev, "failed to get output width\n");
911-
return -EINVAL;
911+
return ret;
912912
}
913913

914914
if (asrc_priv->asrc_width != 16 && asrc_priv->asrc_width != 24) {
@@ -933,8 +933,6 @@ static int fsl_asrc_probe(struct platform_device *pdev)
933933
return ret;
934934
}
935935

936-
dev_info(&pdev->dev, "driver registered\n");
937-
938936
return 0;
939937
}
940938

sound/soc/fsl/fsl_sai.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -801,8 +801,8 @@ static int fsl_sai_probe(struct platform_device *pdev)
801801

802802
sai->pdev = pdev;
803803

804-
if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx6sx-sai") ||
805-
of_device_is_compatible(pdev->dev.of_node, "fsl,imx6ul-sai"))
804+
if (of_device_is_compatible(np, "fsl,imx6sx-sai") ||
805+
of_device_is_compatible(np, "fsl,imx6ul-sai"))
806806
sai->sai_on_imx = true;
807807

808808
sai->is_lsb_first = of_property_read_bool(np, "lsb-first");
@@ -883,7 +883,7 @@ static int fsl_sai_probe(struct platform_device *pdev)
883883
}
884884

885885
if (of_find_property(np, "fsl,sai-mclk-direction-output", NULL) &&
886-
of_device_is_compatible(pdev->dev.of_node, "fsl,imx6ul-sai")) {
886+
of_device_is_compatible(np, "fsl,imx6ul-sai")) {
887887
gpr = syscon_regmap_lookup_by_compatible("fsl,imx6ul-iomuxc-gpr");
888888
if (IS_ERR(gpr)) {
889889
dev_err(&pdev->dev, "cannot find iomuxc registers\n");

0 commit comments

Comments
 (0)