Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
leds: as3645a: Fix error return code in as3645a_parse_node()
[ Upstream commit 96a3096 ] Return error code -ENODEV rather than '0' when the indicator node can not be found. Fixes: a56ba8f ("media: leds: as3645a: Add LED flash class driver") Reported-by: Hulk Robot <hulkci@huawei.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information