Print this page
XXXX introduce drv_sectohz

@@ -131,11 +131,11 @@
 {
         clock_t tmo;
         clock_t now, tstamp;
         pd_mpu_mbox_db_t mbox_db;
 
-        tmo = (tmo_sec > 0) ? drv_usectohz(tmo_sec * 1000000) :
+        tmo = (tmo_sec > 0) ? drv_sectohz(tmo_sec) :
             drv_usectohz(DEFAULT_MQ_MBOX_TIMEOUT);
 
         /* Add the default timeout to wait for a mailbox to complete */
         tmo += drv_usectohz(MBX_READY_TIMEOUT);