aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorStephen Warren <[email protected]>2011-12-01 13:49:19 -0700
committerMark Brown <[email protected]>2011-12-02 10:35:25 +0000
commit6f526f0a86dbb22fd2fc5a873f55c9e2341a79c0 (patch)
treeb083b7340cd2b765bea1737f721ce817d1f1c3b0 /tools/perf/scripts/python
parent84b315ee893676e9a9ce8ac42ab5ef44e2af3ee1 (diff)
ASoC: WM8903: Disallow all invalid gpio_cfg pdata values
The GPIO registers are 15 bits wide. Hence values, higher than 0x7fff are not legal GPIO register values. Modify the pdata.gpio_cfg handling code to reject all illegal values, not just WM8903_GPIO_NO_CONFIG (0x8000). This will allow the later use of 0xffffffff as an invalid value in future device tree bindings, meaning "don't touch this GPIO's configuration". Signed-off-by: Stephen Warren <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions