public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH] Staging: pi433: Change bit_rate type from u16 to u32
@ 2023-03-11 12:23 Sumitra Sharma
  2023-03-11 12:31 ` Greg KH
  2023-03-11 12:39 ` Dan Carpenter
  0 siblings, 2 replies; 7+ messages in thread
From: Sumitra Sharma @ 2023-03-11 12:23 UTC (permalink / raw)
  To: outreachy, gregkh, linux-staging, linux-kernel; +Cc: outreachy

Change bit_rate type from u16 to u32 inside struct pi433_tx_cfg to
support bit rates up to 300kbps as per the spec.

Signed-off-by: Sumitra Sharma <sumitraartsy@gmail.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.25.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-03-11 13:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <alpine.DEB.2.22.394.2303111249470.2802@hadrien>
2023-03-11 11:59 ` [PATCH] Staging: pi433: Change bit_rate type from u16 to u32 Sumitra Sharma
2023-03-11 12:12   ` Julia Lawall
2023-03-11 12:23 Sumitra Sharma
2023-03-11 12:31 ` Greg KH
2023-03-11 12:39 ` Dan Carpenter
2023-03-11 13:00   ` Sumitra Sharma
2023-03-11 13:17     ` Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox