]> git.baikalelectronics.ru Git - kernel.git/commit
[media] smsusb: fix the default delivery system setting
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 1 Mar 2012 10:25:39 +0000 (07:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 1 Mar 2012 10:29:02 +0000 (07:29 -0300)
commit4a84205559bbf01298a0720e4f15bc30f8d034e7
tree955b640fc31918ab652e4c456cf580673ea42902
parent183b32990e680657a329aff125fad4fd0d06d272
[media] smsusb: fix the default delivery system setting

There are two issues on the default delivery system setting for smsusb:

1) instead of filling the delivery system for the per-client
   frontend.ops, it were changing the global structure;

2) The client->frontend.ops copy were keeping the previous value
   of the template. So, the first time the device was inserted,
   it was using the wrong value.

Reported-by: Eddi De Pieri <eddi@depieri.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/siano/smsdvb.c