[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75Vcz8vpW0Ahev8NgpO6irV-btmvkrbyuTjXYdQitAw2HQQ@mail.gmail.com>
Date: Tue, 13 Feb 2018 19:51:21 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Mika Westerberg <mika.westerberg@...ux.intel.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andreas Noever <andreas.noever@...il.com>,
Michael Jamet <michael.jamet@...el.com>,
Yehezkel Bernat <yehezkel.bernat@...el.com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Mario Limonciello <Mario.Limonciello@...l.com>,
Radion Mirchevsky <radion.mirchevsky@...el.com>
Subject: Re: [PATCH 12/18] thunderbolt: Add tb_xdomain_find_by_route()
On Tue, Feb 13, 2018 at 7:00 PM, Mika Westerberg
<mika.westerberg@...ux.intel.com> wrote:
> From: Radion Mirchevsky <radion.mirchevsky@...el.com>
>
> This is needed by the new ICM interface to find xdomains by route string
> instead of link and depth.
> + xd = switch_find_xdomain(tb->root_switch, &lookup);
> + if (xd) {
> + get_device(&xd->dev);
> + return xd;
> + }
> +
> + return NULL;
return tb_xdomain_get(xd);
?
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists