[U-Boot] [PATCH v2] sunxi: video: Force h/vsync active high when using ext. vga dac on some boards

Ian Campbell
2015-01-28T15:33:19Z

On Wed, 2015-01-28 at 15:42 +0100, Hans de Goede wrote:
> > Although I might have been tempted to adjust mode->sync in the caller or
> > the place which populates it in the first place, just due to a general
> > dislike of boolean params to functions (which are opaque at the caller)
> > and to keep mode in sync with reality (if that matters).
>
> I had the same idea, but mode can point to the global fixed mode list, so
> it is: "const struct ctfb_res_modes *mode" and we cannot change what a const
> pointer points too.

Ah, then no, that won't work will it ;-).

Ian.