From: Mauro Carvalho Chehab Date: Fri, 9 Aug 2013 11:53:25 +0000 (-0300) Subject: [media] cx23885-dvb: use a better approach to hook set_frontend X-Git-Tag: v3.12-rc1~135^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15472faf12591a3667fe729d66ae9bf48c8bd1bb;p=pandora-kernel.git [media] cx23885-dvb: use a better approach to hook set_frontend When the frontend drivers got converted to DVBv5 API, the original hook that tracked when a frontend is set got removed, being replaced by an approach that would use the gate control. That doesn't work fine with some boards. Also, the code were called more times than desired. Replace it by a logic that will hook the dvb set_frontend ops, with works with both DVBv3 and DVBv5 calls. Tested on a Mygica X8502 OEM board. Tested-by: Alfredo Delaiti Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed