Re: [PATCH V5 3/6] drivers/auxdisplay: sensehat: Raspberry Pi Sense HAT display driver

From
Miguel Ojeda <hidden>
Date
2021-12-11 18:38:45
Also in
lkml
Reply to
Charles Mirabile, 2021-12-10
Hi Charles, Mwesigwa, Joel, Serge,

On Fri, Dec 10, 2021 at 11:11 PM Charles Mirabile [off-list ref] wrote:
Signed-off-by: Charles Mirabile <redacted>
Co-developed-by: Mwesigwa Guma <redacted>
Signed-off-by: Mwesigwa Guma <redacted>
Co-developed-by: Joel Savitz <redacted>
Signed-off-by: Joel Savitz <redacted>
The "submitting author" should be the last one, i.e.:

Co-developed-by: Mwesigwa Guma <redacted>
Signed-off-by: Mwesigwa Guma <redacted>
Co-developed-by: Joel Savitz <redacted>
Signed-off-by: Joel Savitz <redacted>
Signed-off-by: Charles Mirabile <redacted>
+config SENSEHAT_DISPLAY
+       tristate "Raspberry pi Sense HAT display driver"
pi -> Pi
+static int sensehat_update_display(struct sensehat *sensehat);
Can the function be directly defined instead?
quoted hunk ↗ jump to hunk
+       if (*f_pos >= VMEM_SIZE)
+               return 0;
+       if (*f_pos + count > VMEM_SIZE)
+               count = VMEM_SIZE - *f_pos;
`min` / `min_t`?
quoted hunk ↗ jump to hunk
+       if (ret < 0)
+               dev_err(sensehat->dev,
+                       "Update to 8x8 LED matrix display failed");
Could this happen a lot of times? Is it expected to happen under some
condition or should never happen?

Cheers,
Miguel

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (15 messages) 15 messages, 7 authors, last reply 2021-12-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help