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/hif_rx.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/hif_rx.c')
-rw-r--r-- | drivers/staging/wfx/hif_rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wfx/hif_rx.c b/drivers/staging/wfx/hif_rx.c index b8d570256498..b56138fef0bb 100644 --- a/drivers/staging/wfx/hif_rx.c +++ b/drivers/staging/wfx/hif_rx.c @@ -316,7 +316,7 @@ static int hif_exception_indication(struct wfx_dev *wdev, dev_err(wdev->dev, "firmware exception\n"); print_hex_dump_bytes("Dump: ", DUMP_PREFIX_NONE, buf, len); - wdev->chip_frozen = 1; + wdev->chip_frozen = true; return -1; } |