/* hdaps_read_pair - reads the values from a pair of ports, placing the values in the given pointers. Returns zero on success. Can sleep.  */
static int hdaps_read_pair(unsigned int port1, unsigned int port2, int *val1, int *val2)
/* hdaps_read_pair - reads the values from a pair of ports, placing the values in the given pointers. Returns zero on success. Can sleep.  */
static int hdaps_read_pair(unsigned int port1, unsigned int port2, int *val1, int *val2)
{
	int ret;
	mutex_lock(&hdaps_mtx);
	ret = __hdaps_read_pair(port1, port2, val1, val2);
	mutex_unlock(&hdaps_mtx);
	return ret;
}