Bug 5331 - BUG: irq init by register it at the end of probe
Summary: BUG: irq init by register it at the end of probe
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: 5.10.y-10
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: hanchunchao
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-29 14:59 UTC by hanchunchao
Modified: 2023-08-17 18:29 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hanchunchao inspur_group 2023-05-29 14:59:50 UTC
Description of problem:


IRQ handler netup_spi_interrupt() takes spinlock spi->lock. The lock
is initialized in netup_spi_init(). However, irq handler is registered
before initializing the lock.
Comment 1 小龙 admin 2023-05-29 15:05:18 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/1679