V4L/DVB (13428): cx18: Rename mdl_offset to mdl_base_idx or free_mdl_idx as appropriate
[safe/jmp/linux-2.6] / drivers / media / video / cx18 / cx18-mailbox.c
index afe46c3..4a1249a 100644 (file)
@@ -178,8 +178,8 @@ static void epu_dma_done(struct cx18 *cx, struct cx18_in_work_order *order)
                 * and send them back to q_free for fw rotation eventually.
                 */
                if ((order->flags & CX18_F_EWO_MB_STALE_UPON_RECEIPT) &&
-                   !(id >= s->mdl_offset &&
-                     id < (s->mdl_offset + s->buffers))) {
+                   !(id >= s->mdl_base_idx &&
+                     id < (s->mdl_base_idx + s->buffers))) {
                        CX18_WARN("Fell behind! Ignoring stale mailbox with "
                                  " inconsistent data. Lost buffer for mailbox "
                                  "seq no %d\n", mb->request);