Skip to content
Commit a2a6fc5f authored by Wei Yongjun's avatar Wei Yongjun Committed by Tomi Valkeinen
Browse files

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent fb8a1507
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment