diff options
author | J. German Rivera <[email protected]> | 2015-03-27 16:01:07 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2015-04-03 13:55:03 +0200 |
commit | 2bdc55d94fef59296f9f1aeda2a503d4c64cad86 (patch) | |
tree | d1aa153da79e6820cd90f4c50a7abc0a153d3895 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 1663e80982eef51892576cb2e3d4978af787ca4d (diff) |
staging: fsl-mc: Fix crash in fsl_mc_device_remove()
Only call fsl_mc_io_destroy() if the DPRC being removed
actually had an mc_io object associated with. Child DPRCs
that have not been bound to the DPRC driver or the VFIO driver
will not have an mc_io associated with them.
Signed-off-by: J. German Rivera <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions