commit | 9f382f0a41d65688889a6eca7ccdd92c85d4c0f7 | [log] [tgz] |
---|---|---|
author | Danny Baumann <dannybaumann@web.de> | Tue Feb 09 14:11:52 2016 +0100 |
committer | Jackeagle <jackeagle102gmail.com> | Sun Nov 13 23:57:32 2016 +0530 |
tree | 26bce0ccd03b058a1d62c4cd43908b847800d5a5 | |
parent | 733854b9bd30bdeaa8c9055741d3dad3eedeb974 [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