Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
- index 3c76433..3a141e8 100644
- --- a/drivers/staging/nvec/nvec.c
- +++ b/drivers/staging/nvec/nvec.c
- @@ -801,6 +801,7 @@ static int tegra_nvec_suspend(struct platform_device *pdev, pm_message_t state)
- struct nvec_msg *msg;
- dev_dbg(nvec->dev, "suspending\n");
- + nvec_write_async(nvec, "\x0d\x10\x59\x94", 4);
- /* keep these sync or you'll break suspend */
- msg = nvec_write_sync(nvec, EC_DISABLE_EVENT_REPORTING, 3);
- @@ -822,7 +823,8 @@ static int tegra_nvec_resume(struct platform_device *pdev)
- enable_irq(nvec->irq);
- /* when making the next line nvec_write_sync, resume seems to stop working */
- nvec_write_async(nvec, EC_ENABLE_EVENT_REPORTING, 3);
- -
- + /* unmute speaker*/
- + nvec_write_async(nvec, "\x0d\x10\x59\x95", 4);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement