commit | c92c3948bd9e709d74d9bc78405403e755a3f4ae | [log] [tgz] |
---|---|---|
author | Stephan Gerhold <stephan.gerhold@linaro.org> | Mon Apr 07 13:10:00 2025 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Apr 14 16:57:06 2025 -0600 |
tree | c58a0c6df5f667361b372069d2f237fcbeee96dc | |
parent | 8294e1bbb6192b0a645d27130463a15c5c456318 [diff] |
IOMUX: Fix stopping unused dropped consoles iomux_match_device() returns -ENOENT instead of the end index, which means console_stop() is never called at the moment for unused consoles. This prevents e.g. f_acm from releasing the USB gadget interface when removing it from stdio/stderr/stdin. Fixes: b672c1619bb9 ("IOMUX: Split out iomux_match_device() helper") Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>