diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-04-05 14:58:08 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-04-06 23:25:18 +0100 |
| commit | 7afa96026f0a1d81b7e9cc8f1811cae4b80d4d94 (patch) | |
| tree | 3b2a5f33ec43c37b2967ec70c40b0b6088618f31 /tools/docs/lib/parse_data_structs.py | |
| parent | e0cd450a2d207ce44aa88137a045f2d2a31810c2 (diff) | |
ASoC: codecs: rt5677: Use secs_to_jiffies() instead of msecs_to_jiffies()
Use secs_to_jiffies() instead of msecs_to_jiffies() and avoid scaling
'delay' to milliseconds.
Since 'delay' isn't a compile-time constant, secs_to_jiffies() expands
to much simpler code compared to msecs_to_jiffies(), reducing the size
of 'snd-soc-rt5677-spi.ko' by 472 bytes.
No functional changes intended.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20250405125808.302259-1-thorsten.blum@linux.dev
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/docs/lib/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions
