Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] em28xx: use MFE lock for PCTV nanoStick T2 290e

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by

Antti Palosaari and committed by
Mauro Carvalho Chehab
e3645437 eb28dc39

+6 -1
+6 -1
drivers/media/video/em28xx/em28xx-dvb.c
··· 609 609 610 610 static int dvb_init(struct em28xx *dev) 611 611 { 612 - int result = 0; 612 + int result = 0, mfe_shared = 0; 613 613 struct em28xx_dvb *dvb; 614 614 615 615 if (!dev->board.has_dvb) { ··· 772 772 dvb_frontend_detach(dvb->fe[1]); 773 773 /* leave FE 0 still active */ 774 774 } 775 + 776 + mfe_shared = 1; 775 777 } 776 778 break; 777 779 case EM2884_BOARD_TERRATEC_H5: ··· 829 827 830 828 if (result < 0) 831 829 goto out_free; 830 + 831 + /* MFE lock */ 832 + dvb->adapter.mfe_shared = mfe_shared; 832 833 833 834 em28xx_info("Successfully loaded em28xx-dvb\n"); 834 835 ret: