tmp_suning_uos_patched/drivers/rpmsg
Bjorn Andersson c12fc4519f 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: Will Newton <will.newton@gmail.com>
Reported-by: Jeremy McNicoll <jmcnicol@redhat.com>
Reported-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2017-12-18 21:49:55 -08:00
..
Kconfig rpmsg: Allow RPMSG_VIRTIO to be enabled via menuconfig or defconfig 2017-10-25 21:51:05 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qcom_glink_native.c rpmsg: glink: The mbox client knows_txdone 2017-11-15 22:58:01 -08:00
qcom_glink_native.h rpmsg: glink: Make RX FIFO peak accessor to take an offset 2017-08-29 20:34:13 -07:00
qcom_glink_rpm.c rpmsg: glink: Make RX FIFO peak accessor to take an offset 2017-08-29 20:34:13 -07:00
qcom_glink_smem.c rpmsg: glink: smem: Ensure ordering during tx 2017-12-18 21:47:43 -08:00
qcom_smd.c rpmsg: smd: Create device for all channels 2017-12-18 21:49:55 -08:00
rpmsg_char.c rpmsg updates for v4.13 2017-07-06 15:38:31 -07:00
rpmsg_core.c rpmsg updates for v4.13 2017-07-06 15:38:31 -07:00
rpmsg_internal.h
virtio_rpmsg_bus.c rpmsg: virtio_rpmsg_bus: fix sg_set_buf() when addr is not a valid kernel address 2017-08-24 15:37:28 -07:00