increase the twl4030 conversion dummy results
authorJuha Riihimäki <juhriihi@esdhcp03565.research.nokia.com>
Thu, 16 Apr 2009 11:00:15 +0000 (14:00 +0300)
committerRiku Voipio <riku.voipio@nokia.com>
Fri, 17 Apr 2009 13:51:46 +0000 (16:51 +0300)
too small value will put us in the wrong path...

hw/twl4030.c

index 4c4ff89..a60b438 100644 (file)
@@ -473,7 +473,7 @@ static uint8_t twl4030_4a_read(void *opaque, uint8_t addr)
         case 0x17 ... 0x36: /* RT conversion registers */
         case 0x37 ... 0x56: /* GP conversion registers */
         case 0x57 ... 0x60: /* BCI conversion registers */
-            return (addr & 1) ? 0 : 10;
+            return (addr & 1) ? 0 : 0x60;
         /* MAIN_CHARGE region */
         case 0x74 ... 0xa6:
             return s->reg_data[addr];