diff options
| author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2020-10-15 11:27:03 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2020-10-26 18:37:05 +0000 |
| commit | 79405e3e5375875f8edc7dd6c1cf5376b1ded6e7 (patch) | |
| tree | 48686273d083e7a5c3b67b7c312f970b396ba185 /tools/perf/scripts/python/bin | |
| parent | ASoC: dt-bindings: stm32: convert sai to json-schema (diff) | |
| download | linux-79405e3e5375875f8edc7dd6c1cf5376b1ded6e7.tar.gz linux-79405e3e5375875f8edc7dd6c1cf5376b1ded6e7.zip | |
ASoC: wm5102: Use get_unaligned_be16() for dac_comp_coeff
Replace the two-step copy-and-convert in
wm5102_out_comp_coeff_put() with get_unaligned_be16(). Apart from
looking nicer, it avoids this sparse warning:
wm5102.c:687:35: sparse: sparse: cast to restricted __be16
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20201015102703.24622-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
