omap: clock: Check for enable/disable ops support
authorRajendra Nayak <rnayak@ti.com>
Fri, 25 Feb 2011 22:48:36 +0000 (15:48 -0700)
committerPaul Walmsley <paul@pwsan.com>
Fri, 25 Feb 2011 23:09:52 +0000 (16:09 -0700)
commit6c52f32dcf1d76a95bda3a12d6be9a3102a2693c
treec970d72dab700ee0c87d9cb4ef10da3a3740d792
parent4da71ae607fc657075286abd2774041ff4d00fe5
omap: clock: Check for enable/disable ops support

Check if enable/disable operations are supported for a given
clock node before attempting to call them.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/clock.c