diff options
author | Colin Ian King <[email protected]> | 2017-02-01 11:57:11 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-02-02 13:05:06 +0100 |
commit | 7dd551e20ea2e27fc0579ad0be9e3c660e1147af (patch) | |
tree | f33cee256f9ae39738839484122424baf3e2a6cf /tools/perf/scripts/python/sched-migration.py | |
parent | f440d909085e497540788fecc056dc39ea0471ed (diff) |
staging: bcm2835-audio: use | instead of || otherwise result is just boolean 1
The incorrect or operator is being used resulting in cookies being
set to 1 (true) rather than the intended hex value. Fix this by
using | instead of ||.
Issue found with static analysis with cppcheck
Fixes: 0cec463e391e05b807a ("staging: bcm2835-audio: Simplify callback structure for write data")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions