{"action":"created","issue":{"url":"https://api.github.com/repos/domino-team/openwrt-cc/issues/13","repository_url":"https://api.github.com/repos/domino-team/openwrt-cc","labels_url":"https://api.github.com/repos/domino-team/openwrt-cc/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/domino-team/openwrt-cc/issues/13/comments","events_url":"https://api.github.com/repos/domino-team/openwrt-cc/issues/13/events","html_url":"https://github.com/domino-team/openwrt-cc/pull/13","id":184569683,"number":13,"title":"gl-ar150 leds don't function","user":{"login":"OscarStarink","id":22988058,"avatar_url":"https://avatars.githubusercontent.com/u/22988058?v=3","gravatar_id":"","url":"https://api.github.com/users/OscarStarink","html_url":"https://github.com/OscarStarink","followers_url":"https://api.github.com/users/OscarStarink/followers","following_url":"https://api.github.com/users/OscarStarink/following{/other_user}","gists_url":"https://api.github.com/users/OscarStarink/gists{/gist_id}","starred_url":"https://api.github.com/users/OscarStarink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OscarStarink/subscriptions","organizations_url":"https://api.github.com/users/OscarStarink/orgs","repos_url":"https://api.github.com/users/OscarStarink/repos","events_url":"https://api.github.com/users/OscarStarink/events{/privacy}","received_events_url":"https://api.github.com/users/OscarStarink/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-21T21:06:24Z","updated_at":"2016-10-22T03:19:24Z","closed_at":"2016-10-22T03:19:24Z","pull_request":{"url":"https://api.github.com/repos/domino-team/openwrt-cc/pulls/13","html_url":"https://github.com/domino-team/openwrt-cc/pull/13","diff_url":"https://github.com/domino-team/openwrt-cc/pull/13.diff","patch_url":"https://github.com/domino-team/openwrt-cc/pull/13.patch"},"body":"Problem:\r\ngl-ar150 leds don't function and the following error occurs:\r\n`leds-gpio: probe of leds-gpio failed with error -16`\r\n\r\nCause: \r\nThe USB power gpio is gpio_request'ed twice, the second time fails.\r\nThe first request is done in `gl_ar150_setup()` by `gpio_request_one(GL_AR150_GPIO_USB_POW, GPIOF_OUT_INIT_HIGH | GPIOF_EXPORT_DIR_FIXED, \"USB power\")`\r\nThe second request is done while probing the `gl_ar150_leds_gpio` struct.\r\n\r\nSolution:\r\nRemove the entry for the USB power gpio from the `gl_ar150_leds_gpio` struct.\r\nAlternatively `gpio_request_one()` call could be removed, however this was not done because I assumed it was requirement for  `ath79_register_usb()`"},"comment":{"url":"https://api.github.com/repos/domino-team/openwrt-cc/issues/comments/255504276","html_url":"https://github.com/domino-team/openwrt-cc/pull/13#issuecomment-255504276","issue_url":"https://api.github.com/repos/domino-team/openwrt-cc/issues/13","id":255504276,"user":{"login":"alzhao","id":6429529,"avatar_url":"https://avatars.githubusercontent.com/u/6429529?v=3","gravatar_id":"","url":"https://api.github.com/users/alzhao","html_url":"https://github.com/alzhao","followers_url":"https://api.github.com/users/alzhao/followers","following_url":"https://api.github.com/users/alzhao/following{/other_user}","gists_url":"https://api.github.com/users/alzhao/gists{/gist_id}","starred_url":"https://api.github.com/users/alzhao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alzhao/subscriptions","organizations_url":"https://api.github.com/users/alzhao/orgs","repos_url":"https://api.github.com/users/alzhao/repos","events_url":"https://api.github.com/users/alzhao/events{/privacy}","received_events_url":"https://api.github.com/users/alzhao/received_events","type":"User","site_admin":false},"created_at":"2016-10-22T03:19:24Z","updated_at":"2016-10-22T03:19:24Z","body":"updated the patch. "}}
{"actor":{"display_login":"alzhao"}}