summaryrefslogtreecommitdiff
path: root/drivers/usb/class/usblp.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-05-15 13:51:46 +0400
committerLinus Walleij <linus.walleij@linaro.org>2013-06-04 13:12:04 +0400
commit5f6091a023ca435c49467348e388fa89e635436a (patch)
tree596851ba8fbaba03f509247abfa12fa49fbd5057 /drivers/usb/class/usblp.c
parent1e6eebb4e907548d53347a6e90769feb3d73e9da (diff)
downloadlinux-5f6091a023ca435c49467348e388fa89e635436a.tar.xz
usb: musb: ux500: harden checks for platform data
In its current state, the ux500-musb driver uses platform data pointers blindly with no prior checking. If no platform data pointer is passed this will Oops the kernel. In this patch we ensure platform data and board data are present prior to using them. Cc: linux-usb@vger.kernel.org Acked-by: Felipe Balbi <balbi@ti.com> Acked-by: Fabio Baltieri <fabio.baltieri@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/usb/class/usblp.c')
0 files changed, 0 insertions, 0 deletions