Skip to content

Commit

Permalink
[media] em28xx: prefer_bulk parameter is read-only
Browse files Browse the repository at this point in the history
As the bulk mode is set at device's probe, it is not possible
to change it later. So, change the parameter to be read only
after modprobing.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed Dec 23, 2012
1 parent a6bad04 commit b5cff59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/usb/em28xx/em28xx-cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module_param_array(card, int, NULL, 0444);
MODULE_PARM_DESC(card, "card type");

static unsigned int prefer_bulk;
module_param(prefer_bulk, int, 0644);
module_param(prefer_bulk, int, 0444);
MODULE_PARM_DESC(prefer_bulk, "prefer USB bulk transfers");


Expand Down

0 comments on commit b5cff59

Please sign in to comment.