Skip to content
Commit 851960ba authored by Stephen Warren's avatar Stephen Warren Committed by Mark Brown
Browse files

regmap: validate regmap_raw_read/write val_len



val_len should be a multiple of val_bytes. If it's not, error out early.

Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 9878647f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment