/* __device_refresh_sync - request a synchronous refresh from the accelerometer. We wait for the refresh to complete. Returns zero if successful and nonzero on error. Callers must hold hdaps_mtx.  */
static int __device_refresh_sync(void)
/* __device_refresh_sync - request a synchronous refresh from the accelerometer. We wait for the refresh to complete. Returns zero if successful and nonzero on error. Callers must hold hdaps_mtx.  */
static int __device_refresh_sync(void)
{
	__device_refresh();
	return __wait_latch(0x1604, STATE_FRESH);
}