config: only clear current_devices when stream refcount is zero

release_stream() should only clear current_devices() if the
stream reference count becomes zero.

Change-Id: I350e413350e5cf884ea2e29dc4c49f3d0e04c632
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
1 file changed