/* Reallocate memory for the rolling filter data buffer.  */
static int32_t cn0503_defparam_set_rflw(struct cn0503_dev *dev, uint8_t width, float **buff_ptr)
/* Reallocate memory for the rolling filter data buffer.  */
static int32_t cn0503_defparam_set_rflw(struct cn0503_dev *dev, uint8_t width, float **buff_ptr)
{
	float *err_check;
	err_check = (float *)realloc(*buff_ptr, width * sizeof(uint32_t));
	if(!err_check)
		return FAILURE;
	*buff_ptr = err_check;
	return SUCCESS;
}