From: Mauro Carvalho Chehab <mchehab@s-opensource.com>
To: "Jasmin J." <jasmin@anw.at>
Cc: linux-media@vger.kernel.org, max.kellermann@gmail.com,
rjkm@metzlerbros.de, d.scheller@gmx.net
Subject: Re: [PATCH 7/7] [staging] cxd2099/cxd2099.c: Activate cxd2099 buffer mode
Date: Sat, 24 Jun 2017 16:09:35 -0300 [thread overview]
Message-ID: <20170624160935.5d314082@vento.lan> (raw)
In-Reply-To: <1494190313-18557-8-git-send-email-jasmin@anw.at>
Em Sun, 7 May 2017 22:51:53 +0200
"Jasmin J." <jasmin@anw.at> escreveu:
> From: Jasmin Jessich <jasmin@anw.at>
>
> Now the cxd2099 buffer mode is activated, but can be deactivated by
> setting BUFFER_MODE to 0 at the compiler command line or by editiing
> the file.
Editing the sources to enable a feature doesn't seem nice. If this
feature should be enabled per caller, you should pass a parameter
for the caller driver when binding to it.
>
> Signed-off-by: Jasmin Jessich <jasmin@anw.at>
> ---
> drivers/staging/media/cxd2099/cxd2099.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/staging/media/cxd2099/cxd2099.c b/drivers/staging/media/cxd2099/cxd2099.c
> index 64de129..dcad557 100644
> --- a/drivers/staging/media/cxd2099/cxd2099.c
> +++ b/drivers/staging/media/cxd2099/cxd2099.c
> @@ -33,7 +33,9 @@
>
> #include "cxd2099.h"
>
> -/* #define BUFFER_MODE 1 */
> +#ifndef BUFFER_MODE
> +#define BUFFER_MODE 1
> +#endif
>
> static int read_data(struct dvb_ca_en50221 *ca, int slot, u8 *ebuf, int ecount);
>
Thanks,
Mauro
next prev parent reply other threads:[~2017-06-24 19:09 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-07 20:51 [PATCH 0/7] Add block read/write to en50221 CAM functions Jasmin J.
2017-05-07 20:51 ` [PATCH 1/7] [media] dvb-core/dvb_ca_en50221.c: State UNINITIALISED instead of INVALID Jasmin J.
2017-05-07 20:51 ` [PATCH 2/7] [media] dvb-core/dvb_ca_en50221.c: Increase timeout for link init Jasmin J.
2017-05-07 20:51 ` [PATCH 3/7] [media] dvb-core/dvb_ca_en50221.c: Add block read/write functions Jasmin J.
2017-06-24 19:16 ` Mauro Carvalho Chehab
2017-06-24 19:36 ` Jasmin J.
2017-06-24 20:03 ` Jasmin J.
2017-05-07 20:51 ` [PATCH 4/7] [staging] cxd2099/cxd2099.c/.h: Fixed buffer mode Jasmin J.
2017-05-07 20:51 ` [PATCH 5/7] [media] ddbridge/ddbridge-core.c: Set maximum cxd2099 block size to 512 Jasmin J.
2017-06-24 19:07 ` Mauro Carvalho Chehab
2017-05-07 20:51 ` [PATCH 6/7] [staging] cxd2099/cxd2099.c: Removed useless printing in cxd2099 driver Jasmin J.
2017-06-24 19:12 ` Mauro Carvalho Chehab
2017-05-07 20:51 ` [PATCH 7/7] [staging] cxd2099/cxd2099.c: Activate cxd2099 buffer mode Jasmin J.
2017-06-24 19:09 ` Mauro Carvalho Chehab [this message]
2017-06-07 15:57 ` [PATCH 0/7] Add block read/write to en50221 CAM functions Mauro Carvalho Chehab
2017-06-07 19:18 ` Jasmin J.
2017-06-07 22:49 ` Mauro Carvalho Chehab
2017-06-08 7:31 ` Jasmin J.
2017-06-08 8:44 ` Mauro Carvalho Chehab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170624160935.5d314082@vento.lan \
--to=mchehab@s-opensource.com \
--cc=d.scheller@gmx.net \
--cc=jasmin@anw.at \
--cc=linux-media@vger.kernel.org \
--cc=max.kellermann@gmail.com \
--cc=rjkm@metzlerbros.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.