linux-stable/drivers/soc/fsl/qe
Jiasheng Jiang a222fd8541 soc: fsl: qe: Check of ioremap return value
As the possible failure of the ioremap(), the par_io could be NULL.
Therefore it should be better to check it and return error in order to
guarantee the success of the initiation.
But, I also notice that all the caller like mpc85xx_qe_par_io_init() in
`arch/powerpc/platforms/85xx/common.c` don't check the return value of
the par_io_init().
Actually, par_io_init() needs to check to handle the potential error.
I will submit another patch to fix that.
Anyway, par_io_init() itsely should be fixed.

Fixes: 7aa1aa6ece ("QE: Move QE from arch/powerpc to drivers/soc")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
2022-02-18 17:11:23 -06:00
..
gpio.c soc: fsl: qe: replace qe_io{read,write}* wrappers by generic io{read,write}* 2021-04-06 15:39:39 -05:00
Kconfig soc: fsl: qe: remove PPC32 dependency from CONFIG_QUICC_ENGINE 2019-12-09 13:57:45 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qe.c soc: fsl: qe: fix typo in a comment 2022-02-18 17:11:21 -06:00
qe_common.c soc: fsl: qe: Use DEFINE_SPINLOCK() for spinlock 2021-04-06 15:24:43 -05:00
qe_ic.c soc: fsl: qe: fix static checker warning 2021-08-13 16:56:10 -05:00
qe_io.c soc: fsl: qe: Check of ioremap return value 2022-02-18 17:11:23 -06:00
qe_tdm.c soc: fsl: qe: avoid ppc-specific io accessors 2019-12-09 13:54:29 -06:00
ucc.c soc: fsl: qe: Remove unnessesary check in ucc_set_tdm_rxtx_clk 2020-09-22 18:25:29 -05:00
ucc_fast.c soc: fsl: qe: replace qe_io{read,write}* wrappers by generic io{read,write}* 2021-04-06 15:39:39 -05:00
ucc_slow.c soc: fsl: qe: replace qe_io{read,write}* wrappers by generic io{read,write}* 2021-04-06 15:39:39 -05:00
usb.c soc: fsl: qe: avoid ppc-specific io accessors 2019-12-09 13:54:29 -06:00