/* Returns the value of the register at @offset.  */
u32 hmatrix_read_reg(unsigned long offset)
/* Returns the value of the register at @offset.  */
u32 hmatrix_read_reg(unsigned long offset)
{
	u32 value;
	clk_enable(&at32_hmatrix_clk);
	value = __hmatrix_read_reg(offset);
	clk_disable(&at32_hmatrix_clk);
	return value;
}