From: Sylwester Nawrocki Date: Thu, 17 Nov 2011 09:23:21 +0000 (-0300) Subject: [media] s5p-fimc: Prevent lock up caused by incomplete H/W initialization X-Git-Tag: v3.3-rc1~48^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f664684a56deb7675363e2fa3f1e2a5eedbb3222;p=pandora-kernel.git [media] s5p-fimc: Prevent lock up caused by incomplete H/W initialization The following ioctl sequence causes fimc_dma_run() to start processing without complete scaler and DMA initialization which causes missing interrupt and blocking on DQBUF: S_FMT, STREAMON, QBUF, DQBUF, STREAMOFF, STREAMON, QBUF, DQBUF. Fix this regression caused by moving pm_runtime* calls to start/stop_streaming callback by making sure the fimc_m2m_resume() is always invoked when expected. Reported-by: Tomasz Stanislawski Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed