st-hal: restart session if buffering stopped early

In case of buffering stopped early which second
stage detection not get triggered, an internal
restart is needed to switch session to active
state, thus subsequent trigger events can be
handled properly.

Change-Id: I97a67b0805855bef0f5e9207c30ea0b7464c849a
1 file changed