Re: [PATCH] ARM: stm32: Fix livetree conversion on STM32MP15xx DHSOM

2024-06-14 Thread Patrice CHOTARD
On 6/6/24 15:02, Marek Vasut wrote: > Unlike fdt_node_check_compatible() which returns 0 if node is compatible, > ofnode_device_is_compatible() return true which is non-zero if node is > compatible. The intention of the code is to exit from the function in > case the node is not compatible with

Re: [PATCH] ARM: stm32: Fix livetree conversion on STM32MP15xx DHSOM

2024-06-14 Thread Patrice CHOTARD
On 6/6/24 15:02, Marek Vasut wrote: > Unlike fdt_node_check_compatible() which returns 0 if node is compatible, > ofnode_device_is_compatible() return true which is non-zero if node is > compatible. The intention of the code is to exit from the function in > case the node is not compatible with

[PATCH] ARM: stm32: Fix livetree conversion on STM32MP15xx DHSOM

2024-06-06 Thread Marek Vasut
Unlike fdt_node_check_compatible() which returns 0 if node is compatible, ofnode_device_is_compatible() return true which is non-zero if node is compatible. The intention of the code is to exit from the function in case the node is not compatible with "micrel,ks8851-mll". Add the missing invert int