sx9310_read_thresh
ret = sx9310_read_thresh(data, chan, &pthresh);
return sx9310_read_thresh(data, chan, val);