Em Wed, 27 Nov 2013 22:28:47 +0200
Antti Palosaari <cr...@iki.fi> escreveu:

> Driver did not work anymore since I2C has gone broken due
> to recent commit:
> commit 37ebaf6891ee81687bb558e8375c0712d8264ed8
> [media] dvb-frontends: Don't use dynamic static allocation
> 
> Signed-off-by: Antti Palosaari <cr...@iki.fi>
> ---
>  drivers/media/dvb-frontends/af9033.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/media/dvb-frontends/af9033.c 
> b/drivers/media/dvb-frontends/af9033.c
> index 30ee590..08de532 100644
> --- a/drivers/media/dvb-frontends/af9033.c
> +++ b/drivers/media/dvb-frontends/af9033.c
> @@ -171,7 +171,7 @@ static int af9033_wr_reg_val_tab(struct af9033_state 
> *state,
>               const struct reg_val *tab, int tab_len)
>  {
>       int ret, i, j;
> -     u8 buf[MAX_XFER_SIZE];
> +     u8 buf[212];

Please change, instead, the MAX_XFER_SIZE macro.

Thanks!
Mauro
>  
>       if (tab_len > sizeof(buf)) {
>               dev_warn(&state->i2c->dev,


-- 

Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to