linux-stable/drivers/net/wireless/atmel
Christophe JAILLET c6143548e6 wifi: atmel: Fix an error handling path in atmel_probe()
[ Upstream commit 6b92e4351a ]

Should atmel_config() fail, some resources need to be released as already
done in the remove function.

While at it, remove a useless and erroneous comment. The probe is
atmel_probe(), not atmel_attach().

Fixes: 15b99ac172 ("[PATCH] pcmcia: add return value to _config() functions")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/1e65f174607a83348034197fa7d603bab10ba4a9.1684569156.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-23 13:46:51 +02:00
..
Kconfig
Makefile
at76c50x-usb.c
at76c50x-usb.h
atmel.c
atmel.h
atmel_cs.c wifi: atmel: Fix an error handling path in atmel_probe() 2023-07-23 13:46:51 +02:00
atmel_pci.c