/* This function is used to config the tx retry count when detect err signal.  */
void wm_sc_tx_retry_times(uint8_t count)
/* This function is used to config the tx retry count when detect err signal.  */
void wm_sc_tx_retry_times(uint8_t count)
{
	uint32_t reg;
	reg = tls_reg_read32(HR_UART2_LINE_CTRL);
	reg &= ~(0x7 << 16);
	tls_reg_write32(HR_UART2_LINE_CTRL, reg|(count<<16));
	tls_bitband_write(HR_UART2_LINE_CTRL, 23, 1);
}