Commit Graph

2 Commits

Author SHA1 Message Date
Bjorn Andersson
91b04bc233 dm: Allow DM to be enabled and disabled
The USB DM will be registered as diag starts, but the FunctionFS is
bound dynamically so allow the DM to be enabled and disabled; which will
ensure that we don't enqueue messages on an outbound queue that won't be
drained.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-08-01 23:53:40 -07:00
Bjorn Andersson
de16f5e2a7 diag: Restructure repository
Move router code into "router" and move send_data into "tools", in order
to make things cleaner as the implementation gains further components.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-07-12 21:56:44 -07:00