Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 006335a0 authored by Alex Elder's avatar Alex Elder Committed by Greg Kroah-Hartman
Browse files

greybus: looback: fix two typos



Fix two misspellings.  And add spaces around a '%' operator.

Signed-off-by: default avatarAlex Elder <elder@linaro.org>
Reviewed-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent bfb287a1
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -183,7 +183,7 @@ gb_loopback_ro_attr(iteration_count, u);
 * Type of loopback message to send based on protocol type definitions
 * 0 => Don't send message
 * 2 => Send ping message continuously (message without payload)
 * 3 => Send transer message continuously (message with payload,
 * 3 => Send transfer message continuously (message with payload,
 *					   payload returned in response)
 * 4 => Send a sink message (message with payload, no payload in response)
 */
@@ -410,7 +410,7 @@ static void gb_loopback_calculate_stats(struct gb_loopback *gb)
	do_div(tmp, NSEC_PER_USEC);
	lat = tmp;

	/* Log latency stastic */
	/* Log latency statistic */
	gb_loopback_update_stats(&gb->latency, lat);
	kfifo_in(&gb->kfifo, (unsigned char *)&lat, sizeof(lat));