Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f5028ed9 authored by Nathan Chancellor's avatar Nathan Chancellor Committed by Dyneteve
Browse files

ion: Actually check start exists



For whatever reason, start and offset are zero when using the OnePlus
camera or screenshotting, triggering the -EINVAL return. This causes
some crazy artifacts and distortion in images. As far as I can tell, a
zero vaddr is perfectly fine according to ion_no_page_cache_ops so I
believe this was removed in error.

Fixes: 09874396dfbf ("ion: ensure CMO target is valid")
Signed-off-by: default avatarNathan Chancellor <natechancellor@gmail.com>
parent 153a6b8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment