]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <sasha.levin@oracle.com>
Thu, 27 Aug 2015 17:25:51 +0000 (13:25 -0400)
commitb332d923c390c581ba3498d136bfb5127b67d76a
tree7b74baeae556e078f9a333427c8f725354ad92af
parentf9a59d88f99c3149013e44d1aa9245e67c49a800
avr32: handle NULL as a valid clock object

[ Upstream commit 5c02a4206538da12c040b51778d310df84c6bf6c ]

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: Sasha Levin <sasha.levin@oracle.com>
arch/avr32/mach-at32ap/clock.c