commit | 076d79c273f89b5876474980b1301f539be4a284 | [log] [tgz] |
---|---|---|
author | Danny Baumann <dannybaumann@web.de> | Tue Feb 09 14:11:52 2016 +0100 |
committer | Meninblack007 <sanyam.53jain@gmail.com> | Tue Mar 21 15:56:14 2017 +0530 |
tree | afdb672eaef12572bd5b812063c8e95502bef63d | |
parent | 0e64b6c2165f48d41fb458894be7963d8b8dbf95 [diff] |
Don't obey invalid integer ranges. Qualcomm's sound drivers (wrongly) set 0xffffffff as range maximum in a lot of cases, which essentially means they set that maximum value to -1 due to signed integer value overflow. Instead of patching all the kernels accordingly, drop the range check for such invalid ranges. Change-Id: I4efe0010c316f1fbfbbc004b51fbd5d40d1e1d1e