Skip to content
Commit c12fc451 authored by Bjorn Andersson's avatar Bjorn Andersson
Browse files

rpmsg: smd: Create device for all channels



Rather than selectively creating devices only for the channels that the
remote have moved to "opening" state let's create devices for all
channels found. The driver model will match drivers to the ones we care
about and attempt to open these.

The one case where this fails is if the user loads a firmware that lacks
a particular channel of the previous firmware that was running, in which
case we would find the old channel and attempt to probe it. The channel
opening handshake will ensure this will result in a graceful failure.

The result of this patch is that we will actively open the RPM channel
even though it's left in a state other than "opening" after the boot
loader's closing of the channel.

Tested-by: default avatarWill Newton <will.newton@gmail.com>
Reported-by: default avatarJeremy McNicoll <jmcnicol@redhat.com>
Reported-by: default avatarWill Newton <will.newton@gmail.com>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 268105fb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment