Hi,
Daniel Drake schrieb:
The OLPC XO-1.5 does not have this particular output interface.
However, init_tmds_chip_info() always assumes it to be present,
ignoring failure codes from viafb_tmds_trasmitter_identify().
This is true. I noticed it too while working on the identify logic. I will carry
it on in my tree after I adjusted it (because I replaced the OK/FAIL madness by
bool, it will change to "if (!viafb_tmds_trasmitter_identify())")
This fixes lack of output on the XO-1.5 laptop display.
I wonder about that. Current linux-next with an unpatched viafb seems to work
well on my XO 1.5. I guess I should notice a missing output?
Thanks to Jon Nettleton for helping identify the problematic code.
Signed-off-by: Daniel Drake <dsd@xxxxxxxxxx>
Thanks,
Florian Tobias Schandiant
---
drivers/video/via/hw.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/video/via/hw.c b/drivers/video/via/hw.c
index 7dcb4d5..a24d03f 100644
--- a/drivers/video/via/hw.c
+++ b/drivers/video/via/hw.c
@@ -2125,7 +2125,8 @@ static void init_gfx_chip_info(int chip_type)
static void init_tmds_chip_info(void)
{
- viafb_tmds_trasmitter_identify();
+ if (viafb_tmds_trasmitter_identify() != OK)
+ return;
if (INTERFACE_NONE == viaparinfo->chip_info->tmds_chip_info.
output_interface) {
--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html