Shamu : Add Faux's Sound Control

Sound Control: WCD9320: expose additional controls

Change-Id: I899d42b5b1c69fb8e6554c572a442cb3484e5824
Signed-off-by: Paul Reioux <reioux@gmail.com>

Sound Control: Initial GPL release for WCD9320 Audio Codec

This is first official GPL release based on my private implementation.

This release has been tested for xperia Z officially.  It may work
with other devices using the same WCD9320 Audio Codec as well, but not tested

Change-Id: Iabc7688407276a395da1113cde3d86715bbc4f35
Signed-off-by: Paul Reioux <reioux@gmail.com>

Sound Control: update speaker gain control for One Plus One

Change-Id: I75640dde815b873f691ed7347f59ba4e164a9cc9
Signed-off-by: Paul Reioux <reioux@gmail.com>

Sound Control: (Optional) work around for general audio issues

(Use this only for devices with audio reset issues)

Also bump version to 3.1

Signed-off-by: Paul Reioux <reioux@gmail.com>

wcd9xxx-core: add register write without mutex protection

This is assuming the calling function will take care of the mutex.

Signed-off-by: Paul Reioux <reioux@gmail.com>

Sound Control: (OPTIONAL) add power amp registers access control as well

Signed-off-by: Paul Reioux <reioux@gmail.com>

sound control: add register cache

bump to version 3.2

Signed-off-by: Paul Reioux <reioux@gmail.com>

Conflicts:
	sound/soc/codecs/wcd9320.c

Sound Control: expose direct register manipulations to userspace

bump driver version to 3.3

Signed-off-by: Paul Reioux <reioux@gmail.com>

Sound Control: Misc clean up for newer WCD9xxx SOCs

Bump driver version to 3.4

Change-Id: Idaf374634368e61ba1fc9e24d0c5e1a994271400
Signed-off-by: Paul Reioux <reioux@gmail.com>

Conflicts:
	sound/soc/codecs/sound_control_3_gpl.c

Sound Control: let register lock be dependent on different HW revisions

Signed-off-by: Paul Reioux <reioux@gmail.com>

Conflicts:
	sound/soc/codecs/sound_control_3_gpl.c

Sound Control: separate locking mechanism for recording and playback

with newer hardware revisions coming from Qualcomm, single register lock
control isn't sufficient to cover both playback and recording usage scenarios

bump to version 3.5

Signed-off-by: Paul Reioux <reioux@gmail.com>

Sound Control: update to last Faux123 source - v3.5

Sound Control: add line gain to cached and register lock

bump version to 3.6

Signed-off-by: Paul Reioux <reioux@gmail.com>

Sound Control: remove locked logic from opo branch

Sound Control: Hack Faux sound

Thanks to @myfluxi for the idea
This hack will always return true for calc_checksum()
which is needed to control sound registers via
terminal commands!

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Change-Id: Idaf374634368e61ba1fc9e24d0c5e1a994271400

Revert "Sound Control: Hack Faux sound"

This reverts commit 8bac34eaaa25b6cd5870248085a16cd822cda286.

Revert "Sound Control: remove locked logic from opo branch"

This reverts commit 656c901cc8327c4f920ae8b31cdb77afb51a6f08.

Sound Control: Update speaker gain control for OnePlus One CM builds

Change-Id: I49f5ffe08d9166204aaf0f3e0e986889710a7706