From: Philipp Zabel
Date: Fri, 18 Jul 2014 10:22:36 +0000 (-0300)
Subject: [media] coda: initialize hardware on pm runtime resume only if firmware available
X-Git-Tag: omap-for-v3.19/prcm-cleanup~127^2^2~493
X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65919e6baa4e6e193dd7e4aa4cfd94b9d69e367e;p=pandora-kernel.git
[media] coda: initialize hardware on pm runtime resume only if firmware available
If no firmware was found and the coda module is unloaded, coda_runtime_resume
will be called without an allocated code buffer. Do not call coda_hw_init in
this case.
Signed-off-by: Philipp Zabel
Signed-off-by: Kamil Debski
Signed-off-by: Mauro Carvalho Chehab
---
Reading git-diff-tree failed