diff options
author | Jérôme Pouiller <jerome.pouiller@silabs.com> | 2020-04-27 15:40:16 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-28 14:14:26 +0200 |
commit | 18f0dddf1fe1d16405bb845da96c03cb4b340ad0 (patch) | |
tree | dfc88eeab7c5b155a5d46b7e8e4984a020dc443c /drivers/staging/wfx/queue.c | |
parent | 7508f5d90d622d02af6a13a0a4c4064c475dd6e9 (diff) |
staging: wfx: change the field chip_frozen into a boolean
The field chip_frozen is declared as an integer, but it is only used as
a boolean. So, convert it into a boolean.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200427134031.323403-3-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wfx/queue.c')
-rw-r--r-- | drivers/staging/wfx/queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wfx/queue.c b/drivers/staging/wfx/queue.c index 2f6f9faf15be..0c799cedd101 100644 --- a/drivers/staging/wfx/queue.c +++ b/drivers/staging/wfx/queue.c @@ -52,7 +52,7 @@ void wfx_tx_flush(struct wfx_dev *wdev) wdev->hif.tx_buffers_used); wfx_pending_dump_old_frames(wdev, 3000); // FIXME: drop pending frames here - wdev->chip_frozen = 1; + wdev->chip_frozen = true; } mutex_unlock(&wdev->hif_cmd.lock); wfx_tx_unlock(wdev); |