]> git.ipfire.org Git - thirdparty/openwrt.git/commit
ath79: rb91x_nand: fix some issues in probe 21165/head
authorRosen Penev <rosenp@gmail.com>
Fri, 12 Dec 2025 07:35:20 +0000 (23:35 -0800)
committerRobert Marko <robimarko@gmail.com>
Fri, 23 Jan 2026 09:33:05 +0000 (10:33 +0100)
commit45f35433855ce4545b50c3b7af57c2ce09258ca2
treea5dccc55d8f0b34234177a701fd7a56a31196766
parent3ddcd5265f928ff82e22f29bdb4dedb8cd32159e
ath79: rb91x_nand: fix some issues in probe

Add devm for ioremap to proper cleanup.

Test gpiod_direction_input for failure.

Remove rb91x_nand_release and fix wrong usage.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21165
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ath79/files/drivers/mtd/nand/raw/rb91x_nand.c