[PATCH] checks: fix sound-dai phandle with arg property check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



The property is named "sound-dai", not "sound-dais".

Fixes: b3bbac02d5e3 ("checks: add phandle with arg property checks")
Signed-off-by: Peter Rosin <peda@xxxxxxxxxx>
---
 checks.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Hi!

I don't know if this needs more work? Maybe #sound-dai-cells is optional?
Maybe there's a lot of fall-out in the kernel? Anyway, "sound-dais" is
definitely not right...

BTW, I reviewed the other properties added by the fixed patch and found
no other similar spelling mistake.

Cheers,
Peter

diff --git a/checks.c b/checks.c
index f5bf5f9..334c2a4 100644
--- a/checks.c
+++ b/checks.c
@@ -1066,7 +1066,7 @@ WARNING_PROPERTY_PHANDLE_CELLS(phys, "phys", "#phy-cells");
 WARNING_PROPERTY_PHANDLE_CELLS(power_domains, "power-domains", "#power-domain-cells");
 WARNING_PROPERTY_PHANDLE_CELLS(pwms, "pwms", "#pwm-cells");
 WARNING_PROPERTY_PHANDLE_CELLS(resets, "resets", "#reset-cells");
-WARNING_PROPERTY_PHANDLE_CELLS(sound_dais, "sound-dais", "#sound-dai-cells");
+WARNING_PROPERTY_PHANDLE_CELLS(sound_dai, "sound-dai", "#sound-dai-cells");
 WARNING_PROPERTY_PHANDLE_CELLS(thermal_sensors, "thermal-sensors", "#thermal-sensor-cells");
 
 static bool prop_is_gpio(struct property *prop)
@@ -1269,7 +1269,7 @@ static struct check *check_table[] = {
 	&power_domains_property,
 	&pwms_property,
 	&resets_property,
-	&sound_dais_property,
+	&sound_dai_property,
 	&thermal_sensors_property,
 
 	&deprecated_gpio_property,
-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree-compiler" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux