]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wfx: fix wrong error message
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Tue, 17 Dec 2019 16:14:40 +0000 (16:14 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Dec 2019 14:51:06 +0000 (15:51 +0100)
commit366f15f6b80e77549ecb09a68790fe6f6e0e3549
tree823f8b80528a9ed7b668492c115ff3470a08abee
parent27e4cf6f829314ed76cb14065664bb1b5881eb3d
staging: wfx: fix wrong error message

The driver checks that the number of retries made by the device is
coherent with the rate policy. However, this check make sense only if
the device has returned RETRY_EXCEEDED.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20191217161318.31402-11-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/data_tx.c