From: Lee Jones Date: Wed, 15 May 2013 09:51:46 +0000 (+0100) Subject: usb: musb: ux500: harden checks for platform data X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~68^2~12^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f6091a023ca435c49467348e388fa89e635436a;p=pandora-kernel.git 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 Acked-by: Fabio Baltieri Signed-off-by: Lee Jones Signed-off-by: Linus Walleij --- Reading git-diff-tree failed