{"action":"created","issue":{"url":"https://api.github.com/repos/raspberrypi/linux/issues/889","labels_url":"https://api.github.com/repos/raspberrypi/linux/issues/889/labels{/name}","comments_url":"https://api.github.com/repos/raspberrypi/linux/issues/889/comments","events_url":"https://api.github.com/repos/raspberrypi/linux/issues/889/events","html_url":"https://github.com/raspberrypi/linux/pull/889","id":61916226,"number":889,"title":"Fix reduced volume issue for users of PCM5122 DAC","user":{"login":"hmbedded","id":7444834,"avatar_url":"https://avatars.githubusercontent.com/u/7444834?v=3","gravatar_id":"","url":"https://api.github.com/users/hmbedded","html_url":"https://github.com/hmbedded","followers_url":"https://api.github.com/users/hmbedded/followers","following_url":"https://api.github.com/users/hmbedded/following{/other_user}","gists_url":"https://api.github.com/users/hmbedded/gists{/gist_id}","starred_url":"https://api.github.com/users/hmbedded/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmbedded/subscriptions","organizations_url":"https://api.github.com/users/hmbedded/orgs","repos_url":"https://api.github.com/users/hmbedded/repos","events_url":"https://api.github.com/users/hmbedded/events{/privacy}","received_events_url":"https://api.github.com/users/hmbedded/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-15T23:03:54Z","updated_at":"2015-03-23T10:27:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/raspberrypi/linux/pulls/889","html_url":"https://github.com/raspberrypi/linux/pull/889","diff_url":"https://github.com/raspberrypi/linux/pull/889.diff","patch_url":"https://github.com/raspberrypi/linux/pull/889.patch"},"body":"Since the recent upgrade to the 3.18 kernel users of the PCM5122 DAC have found that there output volume has been significantly reduced. The issue is related to commit id 5be2fc2 which added support for a couple of analogue gain selections. One of these (Playback Volume) sets a gain of either 0db or -6dB and is intended to set the full scale output at 2Vrms or 1Vrms respectively. The reset state is 0db (so 2Vrms) but unfortunately \"alsactl restore\" applies a default of -20dB to a control named \"Playback Volume\" if '/var/lib/alsa/asound.state' doesn't exist or there is no saved state for a particular control. So the control ends up at -6dB and the volume is halved. I have reported this issue upstream here: http://thread.gmane.org/gmane.linux.alsa.devel/135504 but in the meantime I think the best course of action is to revert to the 3.12 situation and simply remove these controls. Therefore this pull request simply reverts commit 5be2fc20b101b5138c4f54a584dc11790ef16598.\r\n"},"comment":{"url":"https://api.github.com/repos/raspberrypi/linux/issues/comments/84935830","html_url":"https://github.com/raspberrypi/linux/pull/889#issuecomment-84935830","issue_url":"https://api.github.com/repos/raspberrypi/linux/issues/889","id":84935830,"user":{"login":"hmbedded","id":7444834,"avatar_url":"https://avatars.githubusercontent.com/u/7444834?v=3","gravatar_id":"","url":"https://api.github.com/users/hmbedded","html_url":"https://github.com/hmbedded","followers_url":"https://api.github.com/users/hmbedded/followers","following_url":"https://api.github.com/users/hmbedded/following{/other_user}","gists_url":"https://api.github.com/users/hmbedded/gists{/gist_id}","starred_url":"https://api.github.com/users/hmbedded/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmbedded/subscriptions","organizations_url":"https://api.github.com/users/hmbedded/orgs","repos_url":"https://api.github.com/users/hmbedded/repos","events_url":"https://api.github.com/users/hmbedded/events{/privacy}","received_events_url":"https://api.github.com/users/hmbedded/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T10:27:39Z","updated_at":"2015-03-23T10:27:39Z","body":"A consensus has been reached and as a result I submitted a couple of patches upstream: http://thread.gmane.org/gmane.linux.alsa.devel/135729. These have been accepted and have now made it to the linux-next tree. I'll update this PR with these patches shortly."}}