openwrt/target/linux/realtek/files-5.10
Jan Hoffmann ae0a3f88ac realtek: restructure rtl_table_read/write
These two functions are identical apart from writing different values to
the read/write bit. Create a new function rtl_table_exec to reduce code
duplication.

Also replace the unbounded busy-waiting loop. The new implementation may
sleep, but as the hardware typically responds before the first poll, any
callers doing many table accesses still need to make sure not to block
other kernel tasks themselves.

So far, polling timeout errors are only handled by logging an error, but
a return value is added to allow proper handling in the future.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2022-12-27 16:29:57 +01:00
..
arch/mips realtek: use MIPS fw_init_cmdline() 2022-10-08 11:05:02 +02:00
Documentation/devicetree/bindings realtek: timer driver: documentation 2022-10-23 22:33:08 +02:00
drivers realtek: restructure rtl_table_read/write 2022-12-27 16:29:57 +01:00
include/dt-bindings/clock realtek: add PLL DT binding includes 2022-08-28 11:03:34 +02:00