Skip to content

Commit 7c4cffc

Browse files
lucaceresolilinusw
authored andcommitted
pinctrl: rockchip: sort the rk3308_mux_recalced_data entries
All the entries are sorted according to num/pin except for two entries. Sort them too. Signed-off-by: Luca Ceresoli <[email protected]> Reviewed-by: Heiko Stuebner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 1f3e25a commit 7c4cffc

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

drivers/pinctrl/pinctrl-rockchip.c

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -512,20 +512,6 @@ static struct rockchip_mux_recalced_data rk3308_mux_recalced_data[] = {
512512
.reg = 0x34,
513513
.bit = 8,
514514
.mask = 0xf
515-
}, {
516-
/* gpio3b4_sel */
517-
.num = 3,
518-
.pin = 12,
519-
.reg = 0x68,
520-
.bit = 8,
521-
.mask = 0xf
522-
}, {
523-
/* gpio3b5_sel */
524-
.num = 3,
525-
.pin = 13,
526-
.reg = 0x68,
527-
.bit = 12,
528-
.mask = 0xf
529515
}, {
530516
/* gpio2a2_sel */
531517
.num = 2,
@@ -561,6 +547,20 @@ static struct rockchip_mux_recalced_data rk3308_mux_recalced_data[] = {
561547
.reg = 0x68,
562548
.bit = 6,
563549
.mask = 0x3
550+
}, {
551+
/* gpio3b4_sel */
552+
.num = 3,
553+
.pin = 12,
554+
.reg = 0x68,
555+
.bit = 8,
556+
.mask = 0xf
557+
}, {
558+
/* gpio3b5_sel */
559+
.num = 3,
560+
.pin = 13,
561+
.reg = 0x68,
562+
.bit = 12,
563+
.mask = 0xf
564564
},
565565
};
566566

0 commit comments

Comments
 (0)