[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y9h42l/8EcPqn63x@combine-ThinkPad-S1-Yoga>
Date: Tue, 31 Jan 2023 03:11:38 +0100
From: Guru Mehar Rachaputi <gurumeharrachaputi@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: [PATCH] staging: pi433: modify bit_rate from u16 to u32
(struct pi433_tx_cfg)->bit_rate is modified from u16 to u32 to
support bit rates up to 300kbps per the spec
Signed-off-by: Guru Mehar Rachaputi <gurumeharrachaputi@...il.com>
---
drivers/staging/pi433/pi433_if.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/pi433/pi433_if.h b/drivers/staging/pi433/pi433_if.h
index 25ee0b77a32c..1f8ffaf02d99 100644
--- a/drivers/staging/pi433/pi433_if.h
+++ b/drivers/staging/pi433/pi433_if.h
@@ -51,7 +51,7 @@ enum option_on_off {
#define PI433_TX_CFG_IOCTL_NR 0
struct pi433_tx_cfg {
__u32 frequency;
- __u16 bit_rate;
+ __u32 bit_rate;
__u32 dev_frequency;
enum modulation modulation;
enum mod_shaping mod_shaping;
--
2.34.1
Powered by blists - more mailing lists