Re: [PATCH 3/3] usb: typec: ucsi: Add ACPI driver

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

 



On 05/26/2017 04:08 AM, Heikki Krogerus wrote:
Hi,

On Thu, May 25, 2017 at 06:23:30AM -0700, Guenter Roeck wrote:
+	/*
+	 * NOTE: The memory region for the data structures is used also in an
+	 * operation region, which means ACPI has already reserved it. Therefore
+	 * it can not be requested here.
+	 */
+	ua->ppm.data = devm_ioremap(&pdev->dev, res->start, resource_size(res));

devm_ioremap_resource() ?

devm_ioremap_resource() will try to request the region, and like I
tried to explain in the comment, it will fail as the region has
already been reserved by ACPI.


Maybe add this to the comment above ?

  .. it can not be requested here, and we can not use devm_ioremap_resource().

Thanks,
Guenter

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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux