summaryrefslogtreecommitdiff
path: root/drivers/accessibility
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-11-29 10:36:02 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-20 13:05:48 +0100
commitd66a4c20ae55ac88136b4a3befd944c093ffa677 (patch)
treef274f7b46ff603f23cada5defaa3422b991d151a /drivers/accessibility
parent9175ee1a99d57ec07d66ff572e1d5a724477ab37 (diff)
firmware: stratix10-svc: fix error handle while alloc/add device failed
If add device "stratix10-rsu" failed in stratix10_svc_drv_probe(), the 'svc_fifo' and 'genpool' need be freed in the error path. If allocate or add device "intel-fcs" failed in stratix10_svc_drv_probe(), the device "stratix10-rsu" need be unregistered in the error path. Fixes: e6281c26674e ("firmware: stratix10-svc: Add support for FCS") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org> Link: https://lore.kernel.org/r/20221129163602.462369-2-dinguyen@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/accessibility')
0 files changed, 0 insertions, 0 deletions