fix multiple driver problem for dma_pending. Issue #35