media: unify some sony camera sensors pattern naming
Subsystems (5)
PATCH v2 1/1 media: unify some sony camera sensors pattern naming
From: Bingbu Cao <[email protected]>
Some Sony camera sensors have same pattern definitions, this patch unify the pattern naming to make it more clear to the userspace.
Suggested-by Sakari Ailus <[email protected]>
Signed-off-by Bingbu Cao <[email protected]>
Reviewed-by [email protected]
--- drivers/media/i2c/imx258.c | 6 +++--- drivers/media/i2c/imx319.c | 8 ++++---- drivers/media/i2c/imx355.c | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-)
drivers/media/i2c/imx258.c +3 -3
@@ -504,10 +504,10 @@ struct imx258_mode {static const char *const imx258_test_pattern_menu[] = {"Disabled" , -"Color Bars" ,"Solid Color" , -"Grey Color Bars" , -"PN9" +"Eight Vertical Color Bars" , +"Color Bars With Fade to Grey" , +"Pseudorandom Sequence (PN9)" , };static const int imx258_test_pattern_val[] = {
drivers/media/i2c/imx319.c +4 -4
@@ -1648,10 +1648,10 @@ struct imx319 {static const char *const imx319_test_pattern_menu[] = {"Disabled" , -"Solid color" , -"100% color bars" , -"Fade to gray color bars" , -"PN9" +"Solid Color" , +"Eight Vertical Color Bars" , +"Color Bars With Fade to Grey" , +"Pseudorandom Sequence (PN9)" , };/* supported link frequencies */
drivers/media/i2c/imx355.c +4 -4
@@ -876,10 +876,10 @@ struct imx355 {static const char *const imx355_test_pattern_menu[] = {"Disabled" , -"Solid color" , -"100% color bars" , -"Fade to gray color bars" , -"PN9" +"Solid Color" , +"Eight Vertical Color Bars" , +"Color Bars With Fade to Grey" , +"Pseudorandom Sequence (PN9)" , };/* supported link frequencies */
Signature · 1 line
1.9.1
Sakari Ailus
maintainerQuoted 9 lines · On Tue, Nov 27, 2018 at 05:03:26PM +0800, [email protected] wrote:
From: Bingbu Cao <[email protected]>
Some Sony camera sensors have same pattern definitions, this patch unify the pattern naming to make it more clear to the userspace.
Suggested-by Sakari Ailus <[email protected]>Signed-off-by Bingbu Cao <[email protected]>Reviewed-by [email protected]
Hi Bing Bu,
Sorry, I prefer your v1. :-)
Signature · 2 lines
Sakari Ailus [email protected]
Quoted 7 lines · Sakari Ailus
Quoted 6 lines · On Tue, Nov 27, 2018 at 05:03:26PM +0800, [email protected] wrote:
From: Bingbu Cao <[email protected]>
Some Sony camera sensors have same pattern definitions, this patch unify the pattern naming to make it more clear to the userspace.
Quoted 6 lines
Quoted 3 lines
Suggested-by Sakari Ailus <[email protected]>Signed-off-by Bingbu Cao <[email protected]>Reviewed-by [email protected]Hi Bing Bu,
Sorry, I prefer your v1. :-)
Thanks.
It really prevent me Google more about difference between 'colour' and 'color'. :)