<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/net/wireless/microchip, branch v5.15.7</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v5.15.7</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v5.15.7'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2021-11-18T18:16:24+00:00</updated>
<entry>
<title>wilc1000: fix possible memory leak in cfg_scan_result()</title>
<updated>2021-11-18T18:16:24+00:00</updated>
<author>
<name>Ajay Singh</name>
<email>ajay.kathat@microchip.com</email>
</author>
<published>2021-09-16T16:49:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7bcbced2534bed9b95e31b356bd0426c01a3c42e'/>
<id>urn:sha1:7bcbced2534bed9b95e31b356bd0426c01a3c42e</id>
<content type='text'>
[ Upstream commit 3c719fed0f3a5e95b1d164609ecc81c4191ade70 ]

When the BSS reference holds a valid reference, it is not freed. The 'if'
condition is wrong. Instead of the 'if (bss)' check, the 'if (!bss)' check
is used.
The issue is solved by removing the unnecessary 'if' check because
cfg80211_put_bss() already performs the NULL validation.

Fixes: 6cd4fa5ab691 ("staging: wilc1000: make use of cfg80211_inform_bss_frame()")
Signed-off-by: Ajay Singh &lt;ajay.kathat@microchip.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210916164902.74629-3-ajay.kathat@microchip.com
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>wilc1000: Convert module-global "isinit" to device-specific variable</title>
<updated>2021-08-29T08:33:36+00:00</updated>
<author>
<name>David Mosberger-Tang</name>
<email>davidm@egauge.net</email>
</author>
<published>2021-08-28T15:19:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=50cbbfd41e9f7716baa976ae2d60309a088a246e'/>
<id>urn:sha1:50cbbfd41e9f7716baa976ae2d60309a088a246e</id>
<content type='text'>
Move static "isinit" variable to wilc_spi structure to allow multiple
WILC1000 devices per machine.

Signed-off-by: David Mosberger-Tang &lt;davidm@egauge.net&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210828151346.3012697-1-davidm@egauge.net
</content>
</entry>
<entry>
<title>wilc1000: remove redundant code</title>
<updated>2021-08-21T17:46:07+00:00</updated>
<author>
<name>wengjianfeng</name>
<email>wengjianfeng@yulong.com</email>
</author>
<published>2021-07-05T02:37:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8f86342872e22910eaa319319d25302a847a3f87'/>
<id>urn:sha1:8f86342872e22910eaa319319d25302a847a3f87</id>
<content type='text'>
Some of the code is redundant, so goto statements are used to remove them

Signed-off-by: wengjianfeng &lt;wengjianfeng@yulong.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210705023731.31496-1-samirweng1979@163.com
</content>
</entry>
<entry>
<title>wilc1000: use devm_clk_get_optional()</title>
<updated>2021-08-21T17:45:38+00:00</updated>
<author>
<name>Claudiu Beznea</name>
<email>claudiu.beznea@microchip.com</email>
</author>
<published>2021-08-06T08:12:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1d89fd1a39d1d88ab9cac8311222ecad19c197b6'/>
<id>urn:sha1:1d89fd1a39d1d88ab9cac8311222ecad19c197b6</id>
<content type='text'>
Use devm_clk_get_optional() for rtc clock: it simplifies a bit
the code.

Signed-off-by: Claudiu Beznea &lt;claudiu.beznea@microchip.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210806081229.721731-4-claudiu.beznea@microchip.com
</content>
</entry>
<entry>
<title>wilc1000: dispose irq on failure path</title>
<updated>2021-08-21T17:45:37+00:00</updated>
<author>
<name>Claudiu Beznea</name>
<email>claudiu.beznea@microchip.com</email>
</author>
<published>2021-08-06T08:12:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f36a0ee599c90899c7382b24f65457cb319afef6'/>
<id>urn:sha1:f36a0ee599c90899c7382b24f65457cb319afef6</id>
<content type='text'>
Dispose IRQ on failure path.

Signed-off-by: Claudiu Beznea &lt;claudiu.beznea@microchip.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210806081229.721731-3-claudiu.beznea@microchip.com
</content>
</entry>
<entry>
<title>wilc1000: use goto labels on error path</title>
<updated>2021-08-21T17:45:37+00:00</updated>
<author>
<name>Claudiu Beznea</name>
<email>claudiu.beznea@microchip.com</email>
</author>
<published>2021-08-06T08:12:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=dc8b338f3bcd9be35a24d14104a2a28144232633'/>
<id>urn:sha1:dc8b338f3bcd9be35a24d14104a2a28144232633</id>
<content type='text'>
Use goto labels on error path for probe functions. This makes code easier
to read. With this introduce also netdev_cleanup and call it where
necessary.

Signed-off-by: Claudiu Beznea &lt;claudiu.beznea@microchip.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210806081229.721731-2-claudiu.beznea@microchip.com
</content>
</entry>
<entry>
<title>wilc1000: Fix clock name binding</title>
<updated>2021-06-15T13:35:18+00:00</updated>
<author>
<name>Tudor Ambarus</name>
<email>tudor.ambarus@microchip.com</email>
</author>
<published>2021-04-28T02:54:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d4f23164cff08de41abfd95ad8610b94137cdf9c'/>
<id>urn:sha1:d4f23164cff08de41abfd95ad8610b94137cdf9c</id>
<content type='text'>
Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.yaml
requires an "rtc" clock name.
drivers/net/wireless/microchip/wilc1000/sdio.c is using "rtc" clock name
as well. Comply with the binding in wilc1000/spi.c too.

Fixes: 854d66df74ae ("staging: wilc1000: look for rtc_clk clock in spi mode")
Signed-off-by: Tudor Ambarus &lt;tudor.ambarus@microchip.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210428025445.81953-1-tudor.ambarus@microchip.com
</content>
</entry>
<entry>
<title>wilc1000: Remove duplicate struct declaration</title>
<updated>2021-04-18T06:33:09+00:00</updated>
<author>
<name>Wan Jiabing</name>
<email>wanjiabing@vivo.com</email>
</author>
<published>2021-03-31T02:35:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=444a9af68b5cc2ca33d073605f747e0f00d6e7b9'/>
<id>urn:sha1:444a9af68b5cc2ca33d073605f747e0f00d6e7b9</id>
<content type='text'>
struct wilc is declared twice. One has been declared
at 352nd line. Remove the duplicate.

Signed-off-by: Wan Jiabing &lt;wanjiabing@vivo.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210331023557.2804128-3-wanjiabing@vivo.com
</content>
</entry>
<entry>
<title>wilc1000: fix a loop timeout condition</title>
<updated>2021-04-17T17:54:22+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2021-03-19T14:47:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2f51061edab942988b1a3c057d21228e938603db'/>
<id>urn:sha1:2f51061edab942988b1a3c057d21228e938603db</id>
<content type='text'>
If the loop fails, the "while(trials--) {" loop will exit with "trials"
set to -1.  The test for that expects it to end with "trials" set to 0
so the warning message will not be printed.

Fix this by changing from a post-op to a pre-op.  This does mean that
we only make 99 attempts instead of 100 but that's okay.

Fixes: f135a1571a05 ("wilc1000: Support chip sleep over SPI")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Acked-by: Ajay Singh &lt;ajay.kathat@microchip.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/YFS5gx/gi70zlIaO@mwanda
</content>
</entry>
<entry>
<title>wilc1000: Bring MAC address setting in line with typical Linux behavior</title>
<updated>2021-04-17T17:51:06+00:00</updated>
<author>
<name>David Mosberger-Tang</name>
<email>davidm@egauge.net</email>
</author>
<published>2021-03-03T19:50:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a381b78a1598dde34a6e40dae2842024308a6ef2'/>
<id>urn:sha1:a381b78a1598dde34a6e40dae2842024308a6ef2</id>
<content type='text'>
Linux network drivers normally disallow changing the MAC address when
the interface is up.  This driver has been different in that it allows
to change the MAC address *only* when it's up.  This patch brings
wilc1000 behavior more in line with other network drivers.  We could
have replaced wilc_set_mac_addr() with eth_mac_addr() but that would
break existing documentation on how to change the MAC address.
Likewise, return -EADDRNOTAVAIL (not -EINVAL) when the specified MAC
address is invalid or unavailable.

Signed-off-by: David Mosberger-Tang &lt;davidm@egauge.net&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210303194846.1823596-1-davidm@egauge.net
</content>
</entry>
</feed>
