alistair23-linux/drivers/rpmsg
Bjorn Andersson 2bd9b4385f Revert "rpmsg: smd: Create device for all channels"
In an effort to pick up channels that are in a funky state we
optimistically tried to open all channels that we found, with the
addition that we failed if the other side did not handshake the opening.

But as we're starting the modem a second time all channels are found -
in a "funky" state - and we try to open them. But the modem firmware
requires the IPCRTR to be up in order to initialize. So any channels we
try to open before that will fail and will not be opened again.

This takes care of the regression, at the cost of reintroducing the
previous behavior of handling of channels with "funky" states.

Reverts commit c12fc4519f ("rpmsg: smd: Create device for all channels")

Reported-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-03-27 12:58:16 -07: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: Use spinlock in tx path 2018-03-20 10:52:54 +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: use put_device() if device_register fail 2018-03-17 21:45:57 -07:00
qcom_smd.c Revert "rpmsg: smd: Create device for all channels" 2018-03-27 12:58:16 -07:00
rpmsg_char.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
rpmsg_core.c the rest of drivers/*: annotate ->poll() instances 2017-11-28 11:06:58 -05:00
rpmsg_internal.h the rest of drivers/*: annotate ->poll() instances 2017-11-28 11:06:58 -05:00
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