]> git.openfabrics.org - ~emulex/infiniband.git/commit
sisfb: POST should fail if R/W test fails
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sun, 13 Feb 2011 22:11:23 +0000 (22:11 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 22 Mar 2011 06:20:05 +0000 (15:20 +0900)
commit83ea0f164c35fb847afd9309be9ba40431fc501d
tree209fd310e1a3039a9faa55b12541c494e6ffddfc
parent1721af4d8581587409d66d4fe0be6bc455611e5b
sisfb: POST should fail if R/W test fails

Currently there is no indication if R/W test fails during POST. This can
happen e.g. when user plugs in a card with unsupported type of memory.
Since the driver will be unusable, it's better to fail the whole POST
if the memory cannot be configured properly.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/sis/sis_main.c