RE: [PATCH] fsl mc-bus: Move mc-io destroy to bus remove

2016-06-20 Thread Stuart Yoder
> -Original Message- > From: Bharat Bhushan [mailto:bharat.bhus...@nxp.com] > Sent: Thursday, June 16, 2016 1:52 AM > To: gre...@linuxfoundation.org; Stuart Yoder > Cc: de...@driverdev.osuosl.org; linux-kernel@vger.kernel.org; Bharat Bhushan > > Subject: [PATCH] f

[PATCH] fsl mc-bus: Move mc-io destroy to bus remove

2016-06-16 Thread Bharat Bhushan
fsl_mc_device_add() is called when a new mc device is added and fsl_mc_device_remove() is called when a mc device is removed. Now mc portals (fsl_create_mc_io) are not created during device addition i.e fsl_mc_device_add(). But mc portal are being destroyed when an mc device are removed i.e fsl_mc_