Re: [PATCH v2] drm/bridge: anx7625: Fix not correct get property counts

2022-03-14 Thread Xin Ji
On Fri, Mar 11, 2022 at 12:36:09PM +0100, Sam Ravnborg wrote: > Hi Xin. > > On Fri, Mar 11, 2022 at 06:35:25PM +0800, Xin Ji wrote: > > The property length which returns from "of_get_property", it means array > > bytes count if the property has prefix as "/bits/ 8". The driver should > > call

Re: [PATCH v2] drm/bridge: anx7625: Fix not correct get property counts

2022-03-11 Thread Sam Ravnborg
Hi Xin. On Fri, Mar 11, 2022 at 06:35:25PM +0800, Xin Ji wrote: > The property length which returns from "of_get_property", it means array > bytes count if the property has prefix as "/bits/ 8". The driver should > call function "of_property_read_u8_array" to get correct array value. > > Fixes:

[PATCH v2] drm/bridge: anx7625: Fix not correct get property counts

2022-03-11 Thread Xin Ji
The property length which returns from "of_get_property", it means array bytes count if the property has prefix as "/bits/ 8". The driver should call function "of_property_read_u8_array" to get correct array value. Fixes: fd0310b6fe7d ("drm/bridge: anx7625: add MIPI DPI input feature")