Loading
firmware: stratix10-svc: fix bug in saving controller data
Fix the incorrect usage of platform_set_drvdata and dev_set_drvdata. They both are of the same data and overrides each other. This resulted in the rmmod of the svc driver to fail and throw a kernel panic for kthread_stop and fifo free. Fixes: b5dc75c9 ("firmware: stratix10-svc: extend svc to support new RSU features") Cc: stable@vger.kernel.org # 6.6+ Signed-off-by:Ang Tien Sung <tiensung.ang@altera.com> Signed-off-by:
Khairul Anuar Romli <khairul.anuar.romli@altera.com> Signed-off-by:
Dinh Nguyen <dinguyen@kernel.org>