On 25 February 2012 13:50, Stefan Weil <s...@weilnetz.de> wrote: > Without the break statement, case 5 sets month and year from the same > data. This does not look correct.
Yep, looks like a simple missing break, checked against the datasheet at http://datasheets.maxim-ic.com/en/ds/DS1338-DS1338Z.pdf Reviewed-by: Peter Maydell <peter.mayd...@linaro.org>