Merged in masayuki2009/nuttx.nuttx/fix_audio_underrun (pull request #917)

configs/lc823450-xgevk: Remove cpu assignment for lpwork

This change will reduce audio underrun when running dvfs auto mode.

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
Masayuki Ishikawa 2019-06-26 11:47:03 +00:00 committed by Gregory Nutt
parent 5ad003cd9f
commit 0dff6cb789

View File

@ -127,16 +127,6 @@ int lc823450_bringup(void)
usbdev_rndis_initialize(mac);
#endif
#if defined(CONFIG_SMP) && defined (CONFIG_RNDIS)
cpu_set_t cpuset;
CPU_ZERO(&cpuset);
CPU_SET(1, &cpuset); /* assigned to CPU1 */
/* NOTE: pid=4 is assumed to be lpwork */
(void)nxsched_setaffinity(4, sizeof(cpu_set_t), &cpuset);
#endif
/* If we got here then perhaps not all initialization was successful, but
* at least enough succeeded to bring-up NSH with perhaps reduced
* capabilities.