st-hal: move session from buffering to active during device switch

When device switch happens during buffering, session should stay
in active to handle device switch event, then session can still
get triggered after switch is finished.

Change-Id: I25accc046cc62ec0bfcd4134f03f1ba540ef5756
1 file changed