Re: [PATCH] OMAP: omap_device: Fix to support multiple hwmods for a single device

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

 



Kishon Vijay Abraham I <kishon@xxxxxx> writes:

> Currently there is a bug in the existing omap_device core code when
> extracting the hwmod structures passed to omap_device_build_ss(). This bug
> gets exposed only when passing multiple hwmod structures to
> omap_device_build_ss() resulting in incorrect extraction from second hwmod
> structure.
>
> This fix uses the pointer to pointer to omap_hwmod structure (array of 
> pointers to omap_hwmod structure) passed to omap_device_build_ss() to 
> correctly extract the appropriate omap_hwmod structure.
>
> This patch has been created and tested on lo/master and mainline.
>
> Signed-off-by: Kishon Vijay Abraham I <kishon@xxxxxx>
>
> Cc: Paul Walmsley<paul@xxxxxxxxx>
> Cc: Benoit Cousson<b-cousson@xxxxxx>
> Cc: Kevin Hilman<khilman@xxxxxxxxxxxxxxxxxxx>
> Cc: Charulatha V<charu@xxxxxx>
> Cc: Shubhrajyoti D<shubhrajyoti@xxxxxx>

Acked-by: Kevin Hilman <khilman@xxxxxxxxxxxxxxxxxxx>

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


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux