[PATCH] ARM: AMBA CLCD: program palette for pseudocolor visuals · torvalds/linux@1ddb8a1 · GitHub
//commit/show" data-turbo-transient="true" />
" /><br>" />" />
Skip to content
Search or jump to...
Search code, repositories, users, issues, pull requests...
-->
Search
Clear
Search syntax tips
Provide feedback
--><br>We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Cancel
Submit feedback
Saved searches
Use saved searches to filter your results more quickly
-->
Name
Query
To see all available qualifiers, see our documentation.
Cancel
Create saved search
Sign in
//commit/show;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up
Appearance settings
Resetting focus
You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
torvalds
linux
Public
Notifications<br>You must be signed in to change notification settings
Fork<br>62.6k
Star<br>235k
File tree<br>Expand file treeCollapse file tree<br>Open diff view settings
Filter options
drivers/video
amba-clcd.c
Expand file treeCollapse file tree<br>Open diff view settings
Collapse file<br>drivers/video/amba-clcd.c<br>Copy file name to clipboardExpand all lines: drivers/video/amba-clcd.c<br>+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change@@ -256,7 +256,7 @@ clcdfb_setcolreg(unsigned int regno, unsigned int red, unsigned int green,
256256 convert_bitfield(green, &fb->fb.var.green) |<br>257257 convert_bitfield(red, &fb->fb.var.red);<br>258258
259- if (fb->fb.var.bits_per_pixel == 8 && regno 256) {<br>259+ if (fb->fb.fix.visual == FB_VISUAL_PSEUDOCOLOR && regno 256) {<br>260260 int hw_reg = CLCD_PALETTE + ((regno * 2) & ~3);<br>261261 u32 val, mask, newval;<br>262262
0 commit comments<br>Comments<br>0 (0)
You can’t perform that action at this time.