diff mbox series

[v2] udevng: fix tty subsystem device on usb bus detection

Message ID 1717054451-3185-1-git-send-email-ivo.g.dimitrov.75@gmail.com (mailing list archive)
State Superseded, archived
Headers show
Series [v2] udevng: fix tty subsystem device on usb bus detection | expand

Commit Message

Ivaylo Dimitrov May 30, 2024, 7:34 a.m. UTC
Fixes: cdd58360140a ("udevng: Add mhi subsystem detection")
---
 plugins/udevng.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Denis Kenzior May 30, 2024, 3:38 p.m. UTC | #1
Hi Ivaylo,

On 5/30/24 2:34 AM, Ivaylo Dimitrov wrote:
> Fixes: cdd58360140a ("udevng: Add mhi subsystem detection")
> ---
>   plugins/udevng.c | 2 ++
>   1 file changed, 2 insertions(+)
> 

Would this be better? 
https://patchwork.kernel.org/project/ofono/patch/20240530152513.279243-2-denkenz@gmail.com/

Regards,
-Denis
diff mbox series

Patch

diff --git a/plugins/udevng.c b/plugins/udevng.c
index d3ce3d5..708ad80 100644
--- a/plugins/udevng.c
+++ b/plugins/udevng.c
@@ -2527,6 +2527,8 @@  static void check_device(struct udev_device *device)
 		check_wwan_device(device);
 	else if (l_streq0(subsystem, "mhi"))
 		check_mhi_device(device);
+	else if (l_streq0(bus, "usb"))
+		check_usb_device(device);
 	else
 		add_serial_device(device);
 }