diff options
author | Nicolin Chen <nicoleotsuka@gmail.com> | 2018-02-12 14:03:09 -0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-02-21 12:30:47 +0000 |
commit | 1476105c3f4a6b8f0c6c1fe07295fc85cbffbd83 (patch) | |
tree | c5176be911f3d7677bad9f6951e61ac4b0f1eca6 /tools/perf/scripts/python/check-perf-trace.py | |
parent | da18bcf72291bd4324ba249f881d7d0c205fd00a (diff) |
ASoC: fsl_ssi: Redefine RX and TX macros
The RX and TX macros were defined implicitly and there was
a potential risk if someone changes their values.
Since they were defined to index the array ssi->regvals[2],
this patch moves these two macros to fsl_ssi.c, closer to
its owner ssi->regvals. And it also puts some comments here
to limit their value within [0, 1].
Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Tested-by: Caleb Crome <caleb@crome.org>
Tested-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Reviewed-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions