diff options
author | Steven Davis <goldside000@outlook.com> | 2024-07-23 12:31:03 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-07-30 09:20:26 +0200 |
commit | 1573c26775f2e7ce7dfd6015b46f2cf55fa87368 (patch) | |
tree | e6ed772def817935801ccf5530a653ca0409bd66 | |
parent | 1524b01fb16f3b5459d5174b0d0982c2b77254d1 (diff) | |
download | linux-1573c26775f2e7ce7dfd6015b46f2cf55fa87368.tar.gz linux-1573c26775f2e7ce7dfd6015b46f2cf55fa87368.tar.bz2 linux-1573c26775f2e7ce7dfd6015b46f2cf55fa87368.zip |
staging: most: video: Fixed minor capitalization and grammatical issues
This patch makes three error messages in the driver easier to read by
capitalizing the first letters properly.
For example, "channel already linked" becomes "Channel already linked", and
"expect" becomes "expected", as you would typically
find in an error message.
This patch improves user experience by making the errors clearer.
Signed-off-by: Steven Davis <goldside000@outlook.com>
Link: https://lore.kernel.org/r/SJ2P223MB1026E786B28986901BC1C126F7A92@SJ2P223MB1026.NAMP223.PROD.OUTLOOK.COM
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/most/video/video.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/most/video/video.c b/drivers/staging/most/video/video.c index 6254a5df2502..2b3cdb1ce140 100644 --- a/drivers/staging/most/video/video.c +++ b/drivers/staging/most/video/video.c @@ -454,18 +454,18 @@ static int comp_probe_channel(struct most_interface *iface, int channel_idx, struct most_video_dev *mdev = get_comp_dev(iface, channel_idx); if (mdev) { - pr_err("channel already linked\n"); + pr_err("Channel already linked\n"); return -EEXIST; } if (ccfg->direction != MOST_CH_RX) { - pr_err("wrong direction, expect rx\n"); + pr_err("Wrong direction, expected rx\n"); return -EINVAL; } if (ccfg->data_type != MOST_CH_SYNC && ccfg->data_type != MOST_CH_ISOC) { - pr_err("wrong channel type, expect sync or isoc\n"); + pr_err("Wrong channel type, expected sync or isoc\n"); return -EINVAL; } |