From 799a3f03572afa77913f2adc136c87a4b0c64850 Mon Sep 17 00:00:00 2001 From: Bryan O'Donoghue Date: Tue, 21 Jul 2015 23:50:07 +0100 Subject: [PATCH] greybus: loopback: update loopback operation description comment Old comment needs updating to match 8a282c411ba0 ('greybus/loopback: make loopback type input equivalent to protocol type') Signed-off-by: Bryan O'Donoghue Reviewed-by: Patrick Titiano Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/loopback.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/staging/greybus/loopback.c b/drivers/staging/greybus/loopback.c index 2de939f298af..66385c91673e 100644 --- a/drivers/staging/greybus/loopback.c +++ b/drivers/staging/greybus/loopback.c @@ -137,10 +137,12 @@ gb_loopback_stats_attrs(throughput); gb_loopback_ro_attr(error, d); /* - * Type of loopback message to send + * Type of loopback message to send based on protocol type definitions * 0 => Don't send message - * 1 => Send ping message continuously (message without payload) - * 2 => Send transer message continuously (message with payload) + * 2 => Send ping message continuously (message without payload) + * 3 => Send transer message continuously (message with payload, + * payload returned in response) + * 4 => Send a sink message (message with payload, no payload in response) */ gb_loopback_attr(type, d); /* Size of transfer message payload: 0-4096 bytes */ -- 2.20.1