Message ID | 20140113090208.0437013b@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Mon, Jan 13, 2014 at 6:02 AM, Mauro Carvalho Chehab <m.chehab@samsung.com> wrote: > Em Sun, 12 Jan 2014 16:26:41 -0500 > Rich Freeman <rich0@gentoo.org> escreveu: > >> I noticed that you authored commit >> 19496d61f3962fd6470b106b779eddcdbe823c9b, which replaced a dynamic >> buffer with a static one when sending data to the card. > > Can you please try the following patch? > > nxt200x: increase write buffer size After applying your patch to 3.12.7 (from the git tag) the firmware loads without any warnings, and the card operates normally. I think that did the trick. Thanks for the prompt response! Rich -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/media/dvb-frontends/nxt200x.c b/drivers/media/dvb-frontends/nxt200x.c index fbca9856313a..4bf057544607 100644 --- a/drivers/media/dvb-frontends/nxt200x.c +++ b/drivers/media/dvb-frontends/nxt200x.c @@ -40,7 +40,7 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt /* Max transfer size done by I2C transfer functions */ -#define MAX_XFER_SIZE 64 +#define MAX_XFER_SIZE 256 #define NXT2002_DEFAULT_FIRMWARE "dvb-fe-nxt2002.fw" #define NXT2004_DEFAULT_FIRMWARE "dvb-fe-nxt2004.fw"