summaryrefslogtreecommitdiff
path: root/drivers/staging/most/aim-v4l2/video.c
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2016-09-21 12:49:09 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-22 09:54:47 (GMT)
commit95f73013ed021ef30e787772ecf547c1355c4299 (patch)
tree3b5bf04928b9f7257b1f4d34965fa352b290c9e2 /drivers/staging/most/aim-v4l2/video.c
parent22ff195b5a42a6935f624bcb995b6d051ee68872 (diff)
downloadlinux-95f73013ed021ef30e787772ecf547c1355c4299.tar.xz
staging: most: clean up configuration strings
This patch adds the strings 'rx', 'tx' and 'isoc' to the list of accepted identifiers when setting up a channel configuration. To keep consistency it removes the prefix "dir_" from strings returned by the attributes set_direction and available_directions and it removes the suffix "_avp" from the string "isoc_avp" returned by the attributes set_datatype and available_datatypes. Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most/aim-v4l2/video.c')
-rw-r--r--drivers/staging/most/aim-v4l2/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/most/aim-v4l2/video.c b/drivers/staging/most/aim-v4l2/video.c
index 150dc89..9173cd1 100644
--- a/drivers/staging/most/aim-v4l2/video.c
+++ b/drivers/staging/most/aim-v4l2/video.c
@@ -506,7 +506,7 @@ static int aim_probe_channel(struct most_interface *iface, int channel_idx,
if (ccfg->data_type != MOST_CH_SYNC &&
ccfg->data_type != MOST_CH_ISOC_AVP) {
- pr_err("wrong channel type, expect sync or isoc_avp\n");
+ pr_err("wrong channel type, expect sync or isoc\n");
return -EINVAL;
}