diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-12-31 00:49:10 +0100 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-01-04 13:17:42 +0100 |
commit | 532952f63cfa708a04aba837f68ffe321489cdef (patch) | |
tree | 7dda1011fe4e648d4353ead50321dbf41ac11340 /scripts/dtc/pylibfdt/setup.py | |
parent | 582e3c9fb2337c2f49faa73ac86dde25f4d56901 (diff) |
cmd: avoid endless loop in sound play command
A parameter starting with a hyphen leads to an endless loop in the sound
play command.
Leave it to dectoul() to handle the hyphen. It will return 0 for a negative
number.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'scripts/dtc/pylibfdt/setup.py')
0 files changed, 0 insertions, 0 deletions