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

Commit 806dd220 authored by Javier Martinez Canillas's avatar Javier Martinez Canillas Committed by Kalle Valo
Browse files

mwifiex: don't print an error if an optional DT property is missing



The Documentation/devicetree/bindings/net/wireless/marvell-sd8xxx.txt DT
binding document say that the "interrupts" property in the child node is
optional. So the property being missed shouldn't be treated as an error.

Signed-off-by: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: default avatarJulian Calaby <julian.calaby@gmail.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 213d9421
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -114,7 +114,7 @@ static int mwifiex_sdio_probe_of(struct device *dev, struct sdio_mmc_card *card)
	if (cfg && card->plt_of_node) {
	if (cfg && card->plt_of_node) {
		cfg->irq_wifi = irq_of_parse_and_map(card->plt_of_node, 0);
		cfg->irq_wifi = irq_of_parse_and_map(card->plt_of_node, 0);
		if (!cfg->irq_wifi) {
		if (!cfg->irq_wifi) {
			dev_err(dev,
			dev_dbg(dev,
				"fail to parse irq_wifi from device tree\n");
				"fail to parse irq_wifi from device tree\n");
		} else {
		} else {
			ret = devm_request_irq(dev, cfg->irq_wifi,
			ret = devm_request_irq(dev, cfg->irq_wifi,