Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 265c770d authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown
Browse files

ASoC: fsi: remove device id check



Current FSI driver id is not only 0

Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent bced8f5a
Loading
Loading
Loading
Loading
+0 −5
Original line number Original line Diff line number Diff line
@@ -1043,11 +1043,6 @@ static int fsi_probe(struct platform_device *pdev)
	unsigned int irq;
	unsigned int irq;
	int ret;
	int ret;


	if (0 != pdev->id) {
		dev_err(&pdev->dev, "current fsi support id 0 only now\n");
		return -ENODEV;
	}

	id_entry = pdev->id_entry;
	id_entry = pdev->id_entry;
	if (!id_entry) {
	if (!id_entry) {
		dev_err(&pdev->dev, "unknown fsi device\n");
		dev_err(&pdev->dev, "unknown fsi device\n");