HDMI: Fix BCD handling error
isValidHour/isValidMinute accept a parameter as BCD encoded value, but they check it without translating to raw value, so valid hour/minute may be detected as an error; e.g. 18:00 is within 23:00 but 0x18(24) is over 23 * 0x18 should be decoded (0x10 >> 4) x 10 + 0x08 = 18 Fix to translate the parameter before checking by isWithinRange. Bug: 357733495 Change-Id: Id0cfb1211048b1f2eaebf3db5814e3da0f34e5b9
Loading
Please register or sign in to comment