From 7d7aa2fd924c27829ec25f825481554dd81bce97 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Sat, 8 Feb 2020 21:58:55 +0100 Subject: brcm2708: rename target to bcm27xx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change makes the names of Broadcom targets consistent by using the common notation based on SoC/CPU ID (which is used internally anyway), bcmXXXX instead of brcmXXXX. This is even used for target TITLE in make menuconfig already, only the short target name used brcm so far. Despite, since subtargets range from bcm2708 to bcm2711, it seems appropriate to use bcm27xx instead of bcm2708 (again, as already done for BOARDNAME). This also renames the packages brcm2708-userland and brcm2708-gpu-fw. Signed-off-by: Adrian Schmutzler Acked-by: Álvaro Fernández Rojas --- ...-bcm2835-audio-Add-10ms-period-constraint.patch | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 target/linux/bcm27xx/patches-4.19/950-0388-staging-bcm2835-audio-Add-10ms-period-constraint.patch (limited to 'target/linux/bcm27xx/patches-4.19/950-0388-staging-bcm2835-audio-Add-10ms-period-constraint.patch') diff --git a/target/linux/bcm27xx/patches-4.19/950-0388-staging-bcm2835-audio-Add-10ms-period-constraint.patch b/target/linux/bcm27xx/patches-4.19/950-0388-staging-bcm2835-audio-Add-10ms-period-constraint.patch new file mode 100644 index 0000000000..07e96f61ed --- /dev/null +++ b/target/linux/bcm27xx/patches-4.19/950-0388-staging-bcm2835-audio-Add-10ms-period-constraint.patch @@ -0,0 +1,33 @@ +From daa78c198ece1ec901ee565c869ee1a60a95061d Mon Sep 17 00:00:00 2001 +From: Takashi Iwai +Date: Tue, 4 Sep 2018 17:58:46 +0200 +Subject: [PATCH] staging: bcm2835-audio: Add 10ms period constraint + +commit 93c66acaf68b5247c3121a46a71ff6a70fc1d492 upstream. + +It seems that the resolution of vc04 callback is in 10 msec; i.e. the +minimal period size is also 10 msec. + +This patch adds the corresponding hw constraint. + +Signed-off-by: Takashi Iwai +Tested-by: Stefan Wahren +Signed-off-by: Greg Kroah-Hartman +--- + drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c | 5 +++++ + 1 file changed, 5 insertions(+) + +--- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c ++++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c +@@ -145,6 +145,11 @@ static int snd_bcm2835_playback_open_gen + SNDRV_PCM_HW_PARAM_PERIOD_BYTES, + 16); + ++ /* position update is in 10ms order */ ++ snd_pcm_hw_constraint_minmax(runtime, ++ SNDRV_PCM_HW_PARAM_PERIOD_TIME, ++ 10 * 1000, UINT_MAX); ++ + chip->alsa_stream[idx] = alsa_stream; + + chip->opened |= (1 << idx); -- cgit v1.2.3