We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 723de0f commit 2485055Copy full SHA for 2485055
drivers/staging/most/core.c
@@ -534,6 +534,7 @@ static struct most_channel *get_channel(char *mdev, char *mdev_ch)
534
dev = bus_find_device_by_name(&mc.bus, NULL, mdev);
535
if (!dev)
536
return NULL;
537
+ put_device(dev);
538
iface = dev_get_drvdata(dev);
539
list_for_each_entry_safe(c, tmp, &iface->p->channel_list, list) {
540
if (!strcmp(dev_name(&c->dev), mdev_ch))
0 commit comments