On 05/04/2015 07:04 AM, fu.wei@linaro.org wrote:
+ res[1].start = (resource_size_t)cf_base_phy;
+ res[1].end = (resource_size_t)(cf_base_phy + SZ_64K - 1);
+ res[1].name = "control_frame";
+ res[1].flags = IORESOURCE_MEM;
+
+ res[2].start = res[2].end = gsi;
+ res[2].name = "ws0";
+ res[2].flags = acpi_gtdt_set_resource_irq_flags(flags);
+
+ err = platform_device_add_resources(pdev, res, 3);
+ if (err)
+ goto err_free_res;
+
+ err = platform_device_add(pdev);
This call to platform_device_add() generates this message:
[ 15.202683] platform sbsa-gwdt.1: failed to claim resource 1
I'm debugging it now. Do you have any ideas what could cause this?
--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.