]> git.baikalelectronics.ru Git - kernel.git/commit
soc: aspeed: lpc-ctrl: Block error printing on probe defer cases
authorJae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
Tue, 1 Feb 2022 07:01:18 +0000 (17:31 +1030)
committerArnd Bergmann <arnd@arndb.de>
Tue, 8 Feb 2022 08:52:59 +0000 (09:52 +0100)
commit600e91aa0f82ac8f6e40c2027bff9b42f9586639
treeba2a039c24a373af6349868dc8238f2493697631
parenteee59b3163bc42394deffc0cd0b710f47b6d3e86
soc: aspeed: lpc-ctrl: Block error printing on probe defer cases

Add a checking code when it gets -EPROBE_DEFER while getting a clock
resource. In this case, it doesn't need to print out an error message
because the probing will be re-visited.

Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Iwona Winiarska <iwona.winiarska@intel.com>
Link: https://lore.kernel.org/r/20211104173709.222912-1-jae.hyun.yoo@intel.com
Link: https://lore.kernel.org/r/20220201070118.196372-1-joel@jms.id.au'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/soc/aspeed/aspeed-lpc-ctrl.c