Praveen Chidambaram
e69e5d7c10
cpufreq: Fix panic when setting sampling rate
Kernel panics when trying to set the sampling rate before the ondemand
governor CPUFREQ_GOV_START notification is received.
[<c078e500>] panic+0x15c
[<c0012354>] die+0x19c
[<c0018e60>] __do_kernel_fault+0x64
[<c0793660>] do_page_fault+0x3b8
[<c0008514>] do_DataAbort+0x134
[<c0791c58>] __dabt_svc+0x38
[<c02b5c68>] __list_add+0x38
[<c078f1b0>] __mutex_lock_slowpath+0x128
[<c078fc68>] mutex_lock+0x20
[<c05409c4>] store_sampling_rate+0x98
[<c02a6648>] kobj_attr_store+0x18
[<c0183124>] sysfs_write_file+0x108
[<c0131758>] vfs_write+0xac
[<c013188c>] sys_write+0x3c
[<c000e340>] ret_fast_syscall+0x0
Initialize the mutex as part of cpufreq_gov_dbs_init().
Change-Id: Ie9014407d724d7a0a81c076be47df5d08f513407
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>
2013-02-27 18:16:29 -08:00
..
2011-12-19 19:23:15 +01:00
2013-02-25 11:29:28 -08:00
2013-01-10 10:38:47 -08:00
2013-02-27 18:16:29 -08:00
2013-02-25 11:25:46 -08:00
2012-01-06 10:10:53 -05:00
2012-01-26 16:49:06 -08:00
2013-02-27 18:16:21 -08:00
2012-03-29 15:38:30 +10:30
2012-01-26 16:49:06 -08:00
2012-01-26 16:49:06 -08:00
2012-03-14 14:39:47 -04:00
2012-02-29 22:24:38 -05:00
2012-03-14 14:39:50 -04:00
2012-03-14 14:39:50 -04:00
2012-02-02 15:32:12 -08:00
2012-04-09 13:57:52 -07:00
2012-04-13 17:57:40 -07:00
2011-07-19 15:13:04 +10:00
2012-01-26 16:49:06 -08:00
2012-01-26 16:49:06 -08:00
2013-02-25 11:29:28 -08:00
2011-07-19 15:13:04 +10:00
2012-03-28 15:58:21 -07:00
2012-01-26 16:49:06 -08:00
2011-09-14 18:09:38 -07:00
2012-02-13 15:26:03 -08:00
2012-03-28 18:30:03 +01:00
2012-01-26 16:49:06 -08:00
2012-02-29 22:24:38 -05:00
2012-02-29 22:24:39 -05:00
2012-01-26 16:49:06 -08:00
2012-01-26 16:49:06 -08:00
2012-01-26 16:49:06 -08:00
2012-01-26 16:49:06 -08:00
2012-01-26 16:49:06 -08:00