]> git.baikalelectronics.ru Git - kernel.git/commit
s3fb: fix error return code in s3_pci_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 23 Sep 2013 15:00:15 +0000 (23:00 +0800)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 26 Sep 2013 08:45:15 +0000 (11:45 +0300)
commit2b30b79fd93906124e2de8e97403b1148db5af20
treec5fed39c3114d7ca3e1f4bf1a2e27466fbb5be20
parent07969c1fe32dad8007019fd6bb7be98a28364ee8
s3fb: fix error return code in s3_pci_probe()

Fix to return -EINVAL when virtual vertical size smaller than real
instead of 0, as done elsewhere in this function. Also remove dup code.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/s3fb.c