Add check before unload driver

Change-Id: I05c595d2b2c2944ab2b01de7ede823f2a6bf5816
Add log

Change-Id: Ie1dcde8b3e9801aff3dae317c42be1bf7e50a508