]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
wcn36xx: Return result of set_power_params in suspend
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Sat, 5 Jun 2021 01:11:29 +0000 (02:11 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 14 Jun 2021 15:18:09 +0000 (18:18 +0300)
commitba4e967379f0a2c2a72fb572c69761218a2468a6
treec5c0a8c79e06cf1fe50d67b58ea3c5d1bf01cfbb
parente0a6120f6816ddd366530ce7ae5cb001a5e819dd
wcn36xx: Return result of set_power_params in suspend

wcn36xx_smd_set_power_params() can return an error. For the purposes of
entering into suspend we need the suspend() function to trap and report
errors up the stack.

First step in this process is reporting the existing result code for
wcn36xx_smd_set_power_params().

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Tested-by: Benjamin Li <benl@squareup.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210605011140.2004643-2-bryan.odonoghue@linaro.org
drivers/net/wireless/ath/wcn36xx/main.c