path: root/commands/passwd.c
diff options
authorAhmad Fatoum <>2020-11-20 15:07:28 +0100
committerSascha Hauer <>2020-11-24 09:34:36 +0100
commit7cc491383b9de67abfd5bb9e1222287243cc3741 (patch)
tree3b4c5924f6f72c7753e1accd19e4632ebe0b9dbc /commands/passwd.c
parent44fbe88055bbb7746ba3b0a30e0a9a8217c733d6 (diff)
usbgadget: autostart: don't print error on repeated nv.usbgadget.autostart=1HEADmaster
nvvar_add results in two calls to dev_set_param: - once when the existing global variable is found and set - once more when setting the nv variable This results in an annoying but ultimately harmless message on startup: ERROR: USB multi gadget already registered ERROR: failed to create nv variable usbgadget.autostart: Device or resource busy Avoid this by ignoring usbgadget.autostart=1 after it succeeded once. This issue should only affect $global.usbgadget.autostart, because all other global variables are "simple" meaning that they have no setters triggered. Fixes: 5a5c5178e7dc ("usbgadget: autostart: support delayed usbgadget.autostart=1") Signed-off-by: Ahmad Fatoum <> Signed-off-by: Sascha Hauer <>
Diffstat (limited to 'commands/passwd.c')
0 files changed, 0 insertions, 0 deletions