SYNC the drivers/base/sync.c from SAMMY update 12