Fix the checkpath.pl issue on fb_watterott.c. write_vmem and
write_vmem_8bit functions are within non-atomic context and can
safely use usleep_range.
see Documentation/timers/timers-howto.txt
Signed-off-by: Hassan Shahbazi <redacted>
---
drivers/staging/fbtft/fb_watterott.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
On Sun, Nov 01, 2020 at 02:20:10AM +0200, Hassan Shahbazi wrote:
quoted hunk
Fix the checkpath.pl issue on fb_watterott.c. write_vmem and
write_vmem_8bit functions are within non-atomic context and can
safely use usleep_range.
see Documentation/timers/timers-howto.txt
Signed-off-by: Hassan Shahbazi <redacted>
---
drivers/staging/fbtft/fb_watterott.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
On Sun, Nov 01, 2020 at 07:39:48AM +0100, Greg KH wrote:
On Sun, Nov 01, 2020 at 02:20:10AM +0200, Hassan Shahbazi wrote:
quoted
Fix the checkpath.pl issue on fb_watterott.c. write_vmem and
write_vmem_8bit functions are within non-atomic context and can
safely use usleep_range.
see Documentation/timers/timers-howto.txt
Signed-off-by: Hassan Shahbazi <redacted>
---
drivers/staging/fbtft/fb_watterott.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
How do you know that these ranges are ok? Are you able to test these
changes with real hardware?
thanks,
greg k-h
No, I don't have the hardware to test with. I just used the current
value as the minimum and added an epsilon to it for the maximum
param.
best, hassan shahbazi
On Sun, Nov 01, 2020 at 12:32:44PM +0200, Hassan Shahbazi wrote:
On Sun, Nov 01, 2020 at 07:39:48AM +0100, Greg KH wrote:
quoted
On Sun, Nov 01, 2020 at 02:20:10AM +0200, Hassan Shahbazi wrote:
quoted
Fix the checkpath.pl issue on fb_watterott.c. write_vmem and
write_vmem_8bit functions are within non-atomic context and can
safely use usleep_range.
see Documentation/timers/timers-howto.txt
Signed-off-by: Hassan Shahbazi <redacted>
---
drivers/staging/fbtft/fb_watterott.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)