lkml.org 
[lkml]   [2016]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tpmdd-devel] [PATCH] tpm_crb: fix: associate to the correct device
On Thu, Feb 18, 2016 at 11:03:31AM -0700, Jason Gunthorpe wrote:
> > + INIT_LIST_HEAD(&resources);
> > + rc = acpi_dev_get_resources(device, &resources, crb_check_resource,
> > + priv);
> > + if (rc < 0)
> > + return rc;
> > + acpi_dev_free_resource_list(&resources);
>
> I wonder if the acpi_dev_free_resource_list is what kill's the
> resource name? Maybe that needs to be delayed until after the
> ioremap, which is best done with this back in crb_map_io ??
>
> Thanks for looking at this stuff,

I had almost forgotten this comment. I'll try this out as soon as
possible. Might well be the reason.

> Jason

/Jarkko

\
 
 \ /
  Last update: 2016-03-05 01:01    [W:0.696 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site