greybus: loopback: Move latency_ts initialization to transfer routine
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Thu, 3 Dec 2015 17:29:39 +0000 (17:29 +0000)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 3 Dec 2015 23:37:24 +0000 (15:37 -0800)
commitd6a1a3b5ea08c7828a177b48e6e39943b0fadf3c
treefeb3d7e34fa4ee2f092bc4ac41d86f08fd6167e1
parentd9fb3754ecf807f6c6bbe63ff2fbd29e00fad131
greybus: loopback: Move latency_ts initialization to transfer routine

Initializing the bridge specific latency variables is only relevant to the
transfer operation, so make it loopback-transfer specific.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/loopback.c