commit | 5112cab38c76c28f973def1a9c8b881f2dc81a48 | [log] [tgz] |
---|---|---|
author | Andrey Smirnov <andrew.smirnov@gmail.com> | Thu Mar 08 09:37:56 2018 -0800 |
committer | Lee Jones <lee.jones@linaro.org> | Wed May 16 09:21:48 2018 +0100 |
tree | 14614d5732dc5bb98972a859afd30823e88ae695 | |
parent | 44564bc3d999cb1febfdb6750e2059d2b308ce00 [diff] |
mfd: rave-sp: Check received frame length before accepting next byte Check received frame length _before_ accepting next byte in order to avoid incorrectly rejecting payloads that are RAVE_SP_RX_BUFFER_SIZE long. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Tested-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Lee Jones <lee.jones@linaro.org>