linux-uconsole/drivers/tty/serdev
John Stultz 3fff726cd6 ANDROID: serdev: Fix platform device support
After commit 3c996ff885 ("ANDROID: serdev: add platform device
support") landed, we started seeing boot panics on HiKey960/HiKey.

After some debugging I found the patch is passing a serdev_device->dev
pointer to match(), which expects the dev pointer to be
contained in a platform_device structure instead. When it uses
container_of, it ends up miscast and we get bad values.

Alistair suggested this fix which seems to avoid the issue.

Signed-off-by: John Stultz <john.stultz@linaro.org>
Bug: 146517987
Change-Id: I6354aeb4008fff85264a3c848c6c95fb8ca5b07a
2020-01-02 21:58:21 +00:00
..
core.c ANDROID: serdev: Fix platform device support 2020-01-02 21:58:21 +00:00
Kconfig serdev: enable TTY port controller support by default 2017-10-20 14:20:06 +02:00
Makefile
serdev-ttyport.c TTY/Staging driver updates for 4.16-rc1 2018-02-01 09:46:00 -08:00