diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-11-08 18:51:48 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-07 18:59:52 +0100 |
commit | cd40c4c45eaedc289d2e1cc33b18a49a211f0f82 (patch) | |
tree | ba98d97ca7ec7f8abc88f44845c691830b4b4e9e /drivers/usb/host/ehci-ppc-of.c | |
parent | USB: change interface to usb_lock_device_for_reset() (diff) | |
download | linux-cd40c4c45eaedc289d2e1cc33b18a49a211f0f82.tar.xz linux-cd40c4c45eaedc289d2e1cc33b18a49a211f0f82.zip |
USB: fsl_qe_udc: Check for muram allocation errors
The QE UDC doesn't check for cpm_muram_alloc() return values, this
might cause all sorts of misbehaviour when cpm_muram_alloc() failed
to allocate the muram memory.
While at at, change few dev_dbg() calls to dev_err(), so that the
driver would not die silently.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Kumar Gala <galak@kernel.crashing.org>
Cc: Li Yang <leoli@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-ppc-of.c')
0 files changed, 0 insertions, 0 deletions