• Wolfram Sang's avatar
    i2c: rcar: revoke START request early · e5a7effa
    Wolfram Sang authored
    If we don't clear START generation as soon as possible, it may cause
    another message to be generated. To keep the race window as small as
    possible, we clear it right at the beginning of the interrupt. We don't
    need checking since we always want to stop START and STOP generation on
    the next occasion after we started it.
    
    This patch improves the situation but sadly does not completely fix it.
    It is still to be researched if we can do better given this HW design.
    Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
    Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
    e5a7effa
i2c-rcar.c 17 KB