Fix issuses of examples, since the interface changed in last commit.
Signed-off-by: Xiongfei(Alex) Guo <xfguo@credosemi.com>