[PATCH] staging: comedi: das1800: fix das-1801st-da boardinfo

Ian Abbott abbotti at mev.co.uk
Thu Apr 7 10:16:15 UTC 2016


On 06/04/16 19:20, H Hartley Sweeten wrote:
> The "da" type boards all have 4 analog inputs. Fix the boardinfo
> for the das-1801st-da.
>
> Signed-off-by: H Hartley Sweeten <hsweeten at visionengravers.com>
> Cc: Ian Abbott <abbotti at mev.co.uk>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> ---
>   drivers/staging/comedi/drivers/das1800.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/comedi/drivers/das1800.c b/drivers/staging/comedi/drivers/das1800.c
> index f80a579..ff73da91 100644
> --- a/drivers/staging/comedi/drivers/das1800.c
> +++ b/drivers/staging/comedi/drivers/das1800.c
> @@ -314,7 +314,7 @@ static const struct das1800_board das1800_boards[] = {
>   	 .resolution = 12,
>   	 .common = 1,
>   	 .do_n_chan = 4,
> -	 .ao_ability = 0,
> +	 .ao_ability = 1,
>   	 .ao_n_chan = 4,
>   	 .range_ai = &range_ai_das1801,
>   	 },
>

Thanks!

Reviewed-by: Ian Abbott <abbotti at mev.co.uk>

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti at mev.co.uk> )=-
-=(                          Web: http://www.mev.co.uk/  )=-


More information about the devel mailing list