mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
ASoC: rockchip: i2s-tdm: Add support for rk3588 SoC
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com> Change-Id: Ib613813d75660c8771ed4dc248f8c9837a2a9d53
This commit is contained in:
@@ -1466,6 +1466,7 @@ static const struct of_device_id rockchip_i2s_tdm_match[] = {
|
||||
{ .compatible = "rockchip,rk1808-i2s-tdm", .data = &rk1808_i2s_soc_data },
|
||||
{ .compatible = "rockchip,rk3308-i2s-tdm", .data = &rk3308_i2s_soc_data },
|
||||
{ .compatible = "rockchip,rk3568-i2s-tdm", .data = &rk3568_i2s_soc_data },
|
||||
{ .compatible = "rockchip,rk3588-i2s-tdm", },
|
||||
{ .compatible = "rockchip,rv1126-i2s-tdm", .data = &rv1126_i2s_soc_data },
|
||||
{},
|
||||
};
|
||||
@@ -1693,7 +1694,7 @@ static int rockchip_i2s_tdm_probe(struct platform_device *pdev)
|
||||
i2s_tdm->dev = &pdev->dev;
|
||||
|
||||
of_id = of_match_device(rockchip_i2s_tdm_match, &pdev->dev);
|
||||
if (!of_id || !of_id->data)
|
||||
if (!of_id)
|
||||
return -EINVAL;
|
||||
|
||||
spin_lock_init(&i2s_tdm->lock);
|
||||
|
||||
Reference in New Issue
Block a user