]> www.infradead.org Git - users/jedix/linux-maple.git/commit
avr32: handle NULL as a valid clock object
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 24 Jul 2015 10:49:48 +0000 (13:49 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Aug 2015 19:21:58 +0000 (12:21 -0700)
commitc9bb1d26fe5747a4dbea75fe37e6474f6abbcdad
treeeb2a1f3564b1c3f698283e5c7f6973c027810c0b
parentf22d5595d56d15b7aadc0ff5cc47e8811d4c9eb1
avr32: handle NULL as a valid clock object

commit 5c02a4206538da12c040b51778d310df84c6bf6c upstream.

Since NULL is used as valid clock object on optional clocks we have to handle
this case in avr32 implementation as well.

Fixes: e1824dfe0d8e (net: macb: Adjust tx_clk when link speed changes)
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/avr32/mach-at32ap/clock.c