m7: post_boot: Set minimum cpufreq frequency

Also set permissions on cpu0's min/max_freq.

A couple of users have commented that sometimes the minimum
frequency is set to the maximum frequency after boot so force
the minimum frequency.

Taken from http://review.cyanogenmod.org/#/c/56036/

Change-Id: Ia2a221348c8a6980090dfbd5e4f859b933da277c
m7-common: Fix torch overlay option

* Value got smashed during overlay cleanup

Change-Id: Id35d1f8ce81fa8b844f3a11418d3f99629bb2ff0
m7-common: use hw_get_module_by_class

Change-Id: I05fe349d03465df56e34f797b5177bc37ed80129
m7-common: Add CM performance profile definitions

Change-Id: Iea706faa1ca43646ff8a75b39d7d31d4239355fc
m7-common: re-sort init directives

Change-Id: I54d6358c1c70054a56a41172a234faa8a4f5d5d4
m7-common: camera: remove scene mode hacks

* HTC HAL now lists the HDR scene mode by default

Change-Id: Ia0328cc76f5a3630974adb286219e9cc3664258d
m7-common: camera: remove preview size hack

* HTC HAL now sets the right value for video snapshot sizes

Change-Id: Id997325f0ae95bf696cbe4ac83032ca012b52998
m7-common: camera: set front cam focus mode

* Front camera does not support any focus mode other than 'infinity'

Change-Id: I401f7d7ad30efc453393755ae299783175afbb45
m7-common: camera: set FFC focal length

Change-Id: I09305bb7896ad2278d4d1c39f75620fdcadf2f63
m7-common: Enable ZSL

Change-Id: I8cb752fd419c2e4a949b1e6fdfcb4dd582f728e6
m7-common: Remove modem links, generate firmware symlinks

* Because remounting the system partition to symlink firmware is dumb.

Change-Id: I55b0ad232fb5dbb1abc57bcb2ace66be1737e7ca
m7-common: use shared msm8960 SELinux config

Change-Id: I0f2d55e7091288ce9ca6a26a27503b34cdda7b74
Revert "m7-common: use permissive SELinux"

This reverts commit 4977cd912ab02720baecf1a72ff275de1e2c5679.

Change-Id: Iee994def54044ae482b3557623b4e7b12d9df53e
m7-common: include more firmware images for symlinking

Change-Id: I499f6a25fc881d365324cde239b448b1faaf3b62
m7: camera: Set fixed framerate mode

 * Fixes a number of crashers

Change-Id: I81b54eb56c16b81a333d60f2bec38a5d4d55aac7
m7-common: cpu performance profiles for recovery

Use separate cpu performance profiles for supported operations in
recovery.

Change-Id: Ifab9b3f45c0933f3deab62dbe860a6ae1e24ecde