[coreboot-gerrit] Patch merged into coreboot/master: f396ad5 exynos5420: i2c: Fix error handling.

gerrit at coreboot.org gerrit at coreboot.org
Wed Jul 10 23:00:59 CEST 2013


the following patch was just integrated into master:
commit f396ad5a6c5dec6c84343005a38c0931e7281e69
Author: Gabe Black <gabeblack at google.com>
Date:   Mon Jun 24 03:20:22 2013 -0700

    exynos5420: i2c: Fix error handling.
    
    The functions which checked the status of a transfer would return success if
    the bus was no longer occupied, even if it's no longer occupied because the
    transfer failed. This change modifies those functions to return three possible
    values, 0 if the transfer isn't done, -1 if there was a fault, and 1 if the
    transaction completed successfully.
    
    Change-Id: Idcc5fdf73cab3c3ece0e96f14113a216db289e05
    Signed-off-by: Gabe Black <gabeblack at chromium.org>
    Reviewed-on: http://review.coreboot.org/3704
    Tested-by: build bot (Jenkins)
    Reviewed-by: Stefan Reinauer <stefan.reinauer at coreboot.org>


See http://review.coreboot.org/3704 for details.

-gerrit



More information about the coreboot-gerrit mailing list