diff options
author | David Fries <[email protected]> | 2022-06-13 00:39:41 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-06-13 15:56:03 +0100 |
commit | 41ecad2c3cce807abf32bff879cef5dfcacae363 (patch) | |
tree | fa82ddef0e0a7ec9a6d88a98e310bdf988ac0fcb /net/lapb/lapb_out.c | |
parent | 845d3fd8a0aadf5dd97e6d345d3df4bf80099e69 (diff) |
spi: spidev_test: Warn when the mode is not the requested mode
Print a warning if the device mode doesn't match the requested mode.
The user doesn't enter the mode in hex so it isn't obvious when
setting the mode succeeds that the mode isn't the requested mode. The
kernel logs a message, it will be more visible if the test also prints
a warning. I was testing --quad, which is unsupported, but doesn't
cause the mode request to fail.
Signed-off-by: David Fries <[email protected]>
Link: https://lore.kernel.org/r/YqbNnSGtWHe/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions