File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1150,9 +1150,9 @@ static void gpi_ev_tasklet(unsigned long data)
11501150{
11511151 struct gpii * gpii = (struct gpii * )data ;
11521152
1153- read_lock_bh (& gpii -> pm_lock );
1153+ read_lock (& gpii -> pm_lock );
11541154 if (!REG_ACCESS_VALID (gpii -> pm_state )) {
1155- read_unlock_bh (& gpii -> pm_lock );
1155+ read_unlock (& gpii -> pm_lock );
11561156 dev_err (gpii -> gpi_dev -> dev , "not processing any events, pm_state:%s\n" ,
11571157 TO_GPI_PM_STR (gpii -> pm_state ));
11581158 return ;
@@ -1163,7 +1163,7 @@ static void gpi_ev_tasklet(unsigned long data)
11631163
11641164 /* enable IEOB, switching back to interrupts */
11651165 gpi_config_interrupts (gpii , MASK_IEOB_SETTINGS , 1 );
1166- read_unlock_bh (& gpii -> pm_lock );
1166+ read_unlock (& gpii -> pm_lock );
11671167}
11681168
11691169/* marks all pending events for the channel as stale */
You can’t perform that action at this time.
0 commit comments