smartmax: cleanup and fixes
patch: added missing dma_buf - not used right now