From: Antti Palosaari Date: Sun, 15 Jan 2012 21:30:36 +0000 (-0300) Subject: [media] cxd2820r: do not allow get_frontend() when demod is not initialized X-Git-Tag: v3.3-rc1~13^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b6a567afa3250abf280ef535000dc0dc3ed9d52;p=pandora-kernel.git [media] cxd2820r: do not allow get_frontend() when demod is not initialized This fixes bug introduced by multi-frontend to single-frontend change. Finally HAS_LOCK is got back! We are not allowed to access hardware in sleep mode... Chip did not like when .get_frontend() reads some registers while chip was sleeping and due to that HAS_LOCK bit was never gained. TODO: We should add logic for dvb-core to drop out illegal calls like that. Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed