OSDN Git Service

video: fbdev: sm712fb: fix an issue about iounmap for a wrong address
authorDejin Zheng <zhengdejin5@gmail.com>
Wed, 22 Apr 2020 16:07:19 +0000 (00:07 +0800)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 1 Jun 2020 13:15:19 +0000 (15:15 +0200)
commit98bd4f72988646c35569e1e838c0ab80d06c77f6
treedfdbb42fd4090c1a800fa5f3f6eefdca84d57f09
parent190070ae4c87f68f3d901c9c28985b3a1f9843af
video: fbdev: sm712fb: fix an issue about iounmap for a wrong address

the sfb->fb->screen_base is not save the value get by iounmap() when
the chip id is 0x720. so iounmap() for address sfb->fb->screen_base
is not right.

Fixes: 1461d6672864854 ("staging: sm7xxfb: merge sm712fb with fbdev")
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: Teddy Wang <teddy.wang@siliconmotion.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200422160719.27763-1-zhengdejin5@gmail.com
drivers/video/fbdev/sm712fb.c