From 70ea48465f14d4f0a3cbfdecba37efea7d8199a3 Mon Sep 17 00:00:00 2001 From: Gaurav Singh Date: Thu, 25 Aug 2016 13:13:50 +0530 Subject: [PATCH] ASoC: tegra-alt: Fix kernel warnings fixing kernel warnings of the form "tegra210-i2s tegra210-i2s.[0-9]+: Missing prop fsync-width for I2S Either we can set the property to a value of 31 or we can make these dev_warn as dev_info. We are going with the second option. Bug 200178609 Change-Id: I29285925a8a88ab8119ec655133462b0714c5092 Signed-off-by: Gaurav Singh Reviewed-on: http://git-master/r/1207583 (cherry picked from commit c2bf779f429f5fb02a787026bcc99a22e7a647b4) Reviewed-on: http://git-master/r/1210057 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bibek Basu --- sound/soc/tegra-alt/tegra210_i2s_alt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/tegra-alt/tegra210_i2s_alt.c b/sound/soc/tegra-alt/tegra210_i2s_alt.c index 9e1d3877..92c44b42 100644 --- a/sound/soc/tegra-alt/tegra210_i2s_alt.c +++ b/sound/soc/tegra-alt/tegra210_i2s_alt.c @@ -999,7 +999,7 @@ static int tegra210_i2s_platform_probe(struct platform_device *pdev) if (of_property_read_u32(pdev->dev.of_node, "fsync-width", &i2s->fsync_width) < 0) { - dev_warn(&pdev->dev, "Missing prop fsync-width for I2S%d\n", + dev_info(&pdev->dev, "Missing prop fsync-width for I2S%d\n", pdev->dev.id); i2s->fsync_width = 31; }