media: staging/cxd2099: Add module parameter for buffer mode
authorDaniel Scheller <d.scheller@gmx.net>
Wed, 23 Aug 2017 16:10:01 +0000 (12:10 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 27 Aug 2017 10:42:31 +0000 (06:42 -0400)
commit2b64e4de39c791fa12cd7ec0307f01609d4b7f1b
tree5e7d45ef729e2d1ccb254f6973888349367c6a74
parentb5967860c6dae3fd64dd87371eef97e2f2e25490
media: staging/cxd2099: Add module parameter for buffer mode

The buffer mode of the cxd2099 driver requires more work regarding error
handling and thus can cause issues in some cases, so disable it by default
and make that mode of operation controllable by users via a module
parameter (ie. 'modprobe cxd2099 buffermode=1' enables current behaviour).

The upstream codebase also has the buffer mode disabled by default, so
we should match this (but users still can test things out using the
modparm).

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Jasmin Jessich <jasmin@anw.at>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/cxd2099/cxd2099.c