[Bugfix][T106BUG-313][autosuspend]fix lock is not error when name is null

Only Configure:No
Affected branch:master
Affected module:autosuspend
Is it affected on both ZXIC and MTK:only ZXIC,
Self-test:Yes,
Doc Update:NO.

Change-Id: Ib4f74af4ba7411a9b0caec027e602857842cbad2
1 file changed