summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev@nicevt.ru>2015-01-24 21:02:19 +0400
committerPatrick Georgi <pgeorgi@google.com>2015-10-31 21:39:02 +0100
commit3c47e8a782c21e6d987f670713242397ec01b82a (patch)
tree5500c160e28634f621ab98f346d214aca4498293
parentee0028da3bfa648a0ae474b1d05da1562da81c8d (diff)
intel/gma: Return success for Intel int15 VGA set panel type hook
One of the interrupts in intel_vga_int15_handler lacks positive return status. Write correct status to avoid error messages in log. TEST=With this change `int15 call returned error` is not shown anymore on a custom board with Intel Atom CPU, i945GME northbridge and i82801gx southbridge. Change-Id: I740b2df9bd6a7d261d89bef74b924edbb64354aa Signed-off-by: Konstantin Aladyshev <aladyshev@nicevt.ru> Reviewed-on: http://review.coreboot.org/12255 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r--src/drivers/intel/gma/int15.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/intel/gma/int15.c b/src/drivers/intel/gma/int15.c
index 36a9c3342e..e7c3c71d50 100644
--- a/src/drivers/intel/gma/int15.c
+++ b/src/drivers/intel/gma/int15.c
@@ -60,6 +60,7 @@ int intel_vga_int15_handler(void)
X86_AX = 0x005f; // Success
X86_CL = panel_type;
printk(BIOS_DEBUG, "DISPLAY=%x\n", X86_CL);
+ res = 1;
break;
case 0x5f51:
/*