Skip to content
Commit 246e614a authored by Daniel Kampert's avatar Daniel Kampert Committed by Carles Cufí
Browse files

drivers: rtc: rtc_mc146818: Patch incorrect field comparisons



Minutes and hour values are incorrectly compared with MAX_SEC.

Compare minutes and hour to MAX_MIN and MAX_HOUR respectively.

Signed-off-by: default avatarDaniel Kampert <DanielKampert@kampis-elektroecke.de>
parent 87dbd811
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment