summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/cm4xxx.c
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2010-09-24 16:23:18 (GMT)
committerPaul Walmsley <paul@pwsan.com>2010-09-24 16:23:18 (GMT)
commitf39f4898ac72fec92066f15aef0e7485013482ea (patch)
tree3f989719e1dd77257fe05e0dcdc8c44c3f58f3d3 /arch/arm/mach-omap2/cm4xxx.c
parent74ff3a68ed11f1e9eede4fe301f42cc3cdf7396a (diff)
downloadlinux-f39f4898ac72fec92066f15aef0e7485013482ea.tar.xz
OMAP: omap_device: Fix to support multiple hwmods for a single device
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@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com> Acked-by: Benoit Cousson <b-cousson@ti.com> Acked-by: Kevin Hilman <khilman@deeprootsystems.com> Cc: Charulatha V <charu@ti.com> Cc: Shubhrajyoti D <shubhrajyoti@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/cm4xxx.c')
0 files changed, 0 insertions, 0 deletions