lkml.org 
[lkml]   [2010]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/8] ideapad: make sure we bind on the correct device
On 08/18/2010 09:27 PM, Matthew Garrett wrote:
> On Wed, Aug 18, 2010 at 04:37:33PM +0800, Ike Panhc wrote:
>> By reading from method _STA and _CFG to make sure we bind on the correct
>> VPC2004 device.
>
> I know some other drivers check _STA themselves, but it's unnecessary -
> if _STA didn't evaluate appropriately, the bus driver won't create the
> pnp object and there won't be anything for you to bind to in the first
> place.
>
yes, you are right. when add, acpi_bus will check for it and tell if the
device exist or not from its bits.


\
 
 \ /
  Last update: 2010-08-19 04:55    [W:0.147 / U:0.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site