Re: [RFC PATCH 2/2] HISI LPC: Add PNP device support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20/04/2018 14:28, Andy Shevchenko wrote:
On Fri, 2018-04-20 at 14:09 +0100, John Garry wrote:
On 20/04/2018 13:50, Andy Shevchenko wrote:
On Fri, 2018-04-20 at 18:07 +0800, John Garry wrote:

+			if (res->flags | IORESOURCE_IO)

What does this mean?

Here we check the resource flag for each resource for this PNP device
-
for IO resources we must translate the resource value from the bus
address to the logical PIO address.

Please, re-read your code again.


Got it. But then again there is a helper for this, as Mika pointed out... :)

Cheers

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux