Thread (3 messages) 3 messages, 2 authors, 2018-03-18

Re: [PATCH 1/2] brcmfmac: add new dt entries for SG SDIO settings

flat view

From: Andrew Lunn <hidden>
Date: 2018-03-18 20:01:36
Also in: linux-wireless, lkml, netdev

+	if (of_property_read_u16(np, "brcm,sd-head-align", &align) == 0)
+		sdio->sd_head_align = align;
Hi Alexey

I think you can make this:

	of_property_read_u16(np, "brcm,sd-head-align", &sdio->sd_head_align);

of_property_read_u16() should not touch the destination variable if
the properties does not exist, or if there is an error.

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help