diff options
| author | Paulo Miguel Almeida <[email protected]> | 2022-01-15 11:16:43 +1300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-01-26 13:01:48 +0100 |
| commit | ce514dadc61a53ea7a2f5bbd67d31c52654e19b8 (patch) | |
| tree | 96bc06208627e94e970a746474551b00220be9c7 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 39ddef5681839dc9949fd280ea65869a21fca23f (diff) | |
staging: pi433: enforce tx_cfg to be set before any message can be sent
this driver relies on exposing a char device to userspace to tx
messages. Every message can be sent using different trasmitter settings
such so the tx_cfg must be written before sending any messages.
Failing to do so will cause the message to fail silently depending on
printk/dynamic_debug settings which makes it hard to troubleshoot.
This patch add a control variable that will get initialized once tx_cfg
is set for the fd used when interacting with the char device.
Signed-off-by: Paulo Miguel Almeida <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions