On Thursday 07 February 2013, Winkler, Tomas wrote:
> Second why to register anything if the MEI device is not present on the
> system.
Mostly to match the expectations of readers of that code. Note that no memory
is wasted if you do this, because it's a static data structure. You can
actually
Hi Arnd,
On Thu, Feb 07, 2013 at 10:37:30PM +, Arnd Bergmann wrote:
> On Thursday 07 February 2013, Tomas Winkler wrote:
> > @@ -197,6 +197,9 @@ static int mei_probe(struct pci_dev *pdev, const struct
> > pci_device_id *ent)
> > mei_pdev = pdev;
> > pci_set_drvdata(pdev,
> -Original Message-
> From: Arnd Bergmann [mailto:a...@arndb.de]
> Sent: Friday, February 08, 2013 00:38
> To: Winkler, Tomas
> Cc: gre...@linuxfoundation.org; sa...@linux.intel.com; linux-
> ker...@vger.kernel.org
> Subject: Re: [char-misc-next 05/11] mei: bus: C
On Thursday 07 February 2013, Tomas Winkler wrote:
> @@ -197,6 +197,9 @@ static int mei_probe(struct pci_dev *pdev, const struct
> pci_device_id *ent)
> mei_pdev = pdev;
> pci_set_drvdata(pdev, dev);
>
> + err = mei_bus_init(mei_pdev);
> + if (err)
> +
On Thursday 07 February 2013, Tomas Winkler wrote:
@@ -197,6 +197,9 @@ static int mei_probe(struct pci_dev *pdev, const struct
pci_device_id *ent)
mei_pdev = pdev;
pci_set_drvdata(pdev, dev);
+ err = mei_bus_init(mei_pdev);
+ if (err)
+ goto
-Original Message-
From: Arnd Bergmann [mailto:a...@arndb.de]
Sent: Friday, February 08, 2013 00:38
To: Winkler, Tomas
Cc: gre...@linuxfoundation.org; sa...@linux.intel.com; linux-
ker...@vger.kernel.org
Subject: Re: [char-misc-next 05/11] mei: bus: Call bus routines from the core
Hi Arnd,
On Thu, Feb 07, 2013 at 10:37:30PM +, Arnd Bergmann wrote:
On Thursday 07 February 2013, Tomas Winkler wrote:
@@ -197,6 +197,9 @@ static int mei_probe(struct pci_dev *pdev, const struct
pci_device_id *ent)
mei_pdev = pdev;
pci_set_drvdata(pdev, dev);
+
On Thursday 07 February 2013, Winkler, Tomas wrote:
Second why to register anything if the MEI device is not present on the
system.
Mostly to match the expectations of readers of that code. Note that no memory
is wasted if you do this, because it's a static data structure. You can
actually
8 matches
Mail list logo