Re: [PATCH] tty:serial:imx: use spin_lock instead of spin_lock_irqsave in isr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



jun qian <hangdianqj@xxxxxxx> 于2018年8月27日周一 下午10:49写道:
>
> Before the program enters the uart ISR, the local interrupt has been
> disabled by the system, so it's not appropriate to use spin_lock_irqsave
> interface in the ISR.
>
> Signed-off-by: jun qian <hangdianqj@xxxxxxx>

many discussions have been done with jun in wechat regarding this patch. and

Reviewed-by: Barry Song <21cnbao@xxxxxxxxx>

> ---
>  drivers/tty/serial/imx.c | 21 ++++++++-------------
>  1 file changed, 8 insertions(+), 13 deletions(-)
>




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux