fixup imx pts
imx: fixup releases
imx: better buffer management