On Fri, 29 Sep 2017 10:53:36 +1300
Chris Packham <judge.pack...@gmail.com> wrote:


>  struct pca954x_priv {
> @@ -39,14 +40,17 @@ static const struct chip_desc chips[] = {
>       [PCA9544] = {
>               .enable = 0x4,
>               .muxtype = pca954x_ismux,
> +             .width = 4,
>       },
>       [PCA9547] = {
>               .enable = 0x8,
>               .muxtype = pca954x_ismux,
> +             .width = 8,
>       },
>       [PCA9548] = {
>               .enable = 0x8,
>               .muxtype = pca954x_isswi,
> +             .width = 8,
>       },
>  };

Hmm, looking at this now, isn't one of the enable or width fields
redundant? They both have same values in all entries.

Marek
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to