PD#RSP-1143
Problem:
streambuf size changed in tvp mode.
Solution:
return when use external streambuf.
Verify:
S905X4
Change-Id: If7d2c20822559d54a3a30943be96727875f82383
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
static void amstream_change_vbufsize(struct port_priv_s *priv,
struct stream_buf_s *pvbuf)
{
- if (pvbuf->buf_start != 0) {
- pr_info("streambuf is alloced before\n");
+ if (pvbuf->buf_start != 0 || pvbuf->ext_buf_addr != 0) {
+ pr_info("streambuf is alloced, buf_start 0x%lx, extbuf 0x%lx\n",
+ pvbuf->buf_start, pvbuf->ext_buf_addr);
return;
}
if (priv->port->is_4k) {