clk: at91: clk-generated: fix incorrect index of clk source
authorWenyou Yang <wenyou.yang@microchip.com>
Fri, 17 Nov 2017 06:50:22 +0000 (14:50 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 30 Nov 2017 03:30:50 +0000 (22:30 -0500)
commit63a80b8d03744c48c188e6bc6f7f69813507cfdb
tree11fcc1284861932a86d332dd5eaabf9ed13fbfed
parenteb1ed2b19befecdfeddb394e6174bb2198f2a49b
clk: at91: clk-generated: fix incorrect index of clk source

Differentiate the generic clock source selection value from the parent
clock index to fix the incorrect assignment of the generic clock
source selection.

Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com>
drivers/clk/at91/clk-generated.c