Skip to content

Instantly share code, notes, and snippets.

View voidzero's full-sized avatar
💭
家で本当に陽気って感じるよ

Mark voidzero

💭
家で本当に陽気って感じるよ
View GitHub Profile
From f67ddf18eec92729c88cadfdef65fdd9775126f1 Mon Sep 17 00:00:00 2001
From: Banajit Goswami <[email protected]>
Date: Sat, 10 Jan 2015 16:39:20 -0800
Subject: [PATCH] ASoC: msm: qdsp6v2: add support for any number of ASM buffers
Current logic in ASM driver supports CPU and DSP buffers only
when the number of buffers is power of 2. At times, the number
of buffers might need to be different than power of 2. Modify
the logic to find next available CPU or DSP buffer, even when
the number of buffers is anything other than power of 2.
@Takika
Takika / listing_mode.php
Last active April 20, 2017 20:32
Roundcube default listing mode plugin
<?php
class listing_mode extends rcube_plugin
{
public $task = 'settings';
function init()
{
$this->add_hook('preferences_list', array($this, 'preferences_list_hook'));
$this->add_hook('preferences_save', array($this, 'preferences_save_hook'));
}