Re: [PATCH 1/4] drm/ast: Remove little-endianism from I/O helpers

2023-02-28 Thread Javier Martinez Canillas
Thomas Zimmermann writes: > Replace one call to ast_io_write16() with two calls to ast_io_write8() > in ast_set_index_reg(). The combined 16-bit-wide write of an index > register and the corresponding data register only works on little- > endian systems. Write both registers independent from

[PATCH 1/4] drm/ast: Remove little-endianism from I/O helpers

2023-02-21 Thread Thomas Zimmermann
Replace one call to ast_io_write16() with two calls to ast_io_write8() in ast_set_index_reg(). The combined 16-bit-wide write of an index register and the corresponding data register only works on little- endian systems. Write both registers independent from each other. Signed-off-by: Thomas