[driver] save last chip online state

Signed-off-by: Fuang.Cao <cavan.cfa@gmail.com>