commit | 2bdc55d94fef59296f9f1aeda2a503d4c64cad86 | [log] [tgz] |
---|---|---|
author | J. German Rivera <German.Rivera@freescale.com> | Fri Mar 27 16:01:07 2015 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 03 13:55:03 2015 +0200 |
tree | d1aa153da79e6820cd90f4c50a7abc0a153d3895 | |
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 <German.Rivera@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>