+27
−29
+36
−30
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
kstrtou32 returns negative on error or 0 on success. kgsl_sysfs_store
then proceeded to either return the negative value or the unsigned int
'count'. Furthermore it compared the return value of kgsl_sysfs_store
against an unsigned int so streams were crossed everywhere.
Remove the uneeded count paramater, return 0 or negative from
kgsl_sysfs_store and handle it appropriately.
Change-Id: Ic0dedbad40e0b914cd06f5a9003a289d3307a14e
Signed-off-by:
Jordan Crouse <jcrouse@codeaurora.org>