diff options
author | Greentime Hu <green.hu@gmail.com> | 2018-02-13 12:09:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-28 15:48:21 +0300 |
commit | 1f66dd36bb18437397ea0d7882c52f7e3c476e15 (patch) | |
tree | 754f1760fea69ddaa40968f7e20b9ba966e538bf /drivers/media/media-devnode.c | |
parent | 714569064adee3c114a2a6490735b94abe269068 (diff) | |
download | linux-1f66dd36bb18437397ea0d7882c52f7e3c476e15.tar.xz |
earlycon: add reg-offset to physical address before mapping
It will get the wrong virtual address because port->mapbase is not added
the correct reg-offset yet. We have to update it before earlycon_map()
is called
Signed-off-by: Greentime Hu <greentime@andestech.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: Peter Hurley <peter@hurleysoftware.com>
Cc: stable@vger.kernel.org
Fixes: 088da2a17619 ("of: earlycon: Initialize port fields from DT properties")
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media/media-devnode.c')
0 files changed, 0 insertions, 0 deletions