diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-11-08 20:51:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-07 09:59:52 -0800 |
commit | cd40c4c45eaedc289d2e1cc33b18a49a211f0f82 (patch) | |
tree | ba98d97ca7ec7f8abc88f44845c691830b4b4e9e /drivers/usb/host/ehci.h | |
parent | 011b15df465745474e3ec85482633685933ed5a7 (diff) | |
download | linux-cd40c4c45eaedc289d2e1cc33b18a49a211f0f82.tar.gz linux-cd40c4c45eaedc289d2e1cc33b18a49a211f0f82.tar.bz2 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.h')
0 files changed, 0 insertions, 0 deletions