--- zzzz-none-000/linux-5.15.111/drivers/spi/spi.c 2023-05-11 14:00:40.000000000 +0000 +++ puma7-arm-6670-761/linux-5.15.111/drivers/spi/spi.c 2024-02-07 09:28:00.000000000 +0000 @@ -4,6 +4,16 @@ // Copyright (C) 2005 David Brownell // Copyright (C) 2008 Secret Lab Technologies Ltd. +/* + * Includes Intel Corporation's changes/modifications dated: 2017. + * Changed/modified portions - Copyright (c) 2017, Intel Corporation. + */ + +/* + * Includes Intel Corporation's changes/modifications dated: 2017. + * Changed/modified portions - Copyright (c) 2017, Intel Corporation. + */ + #include #include #include @@ -1772,6 +1782,14 @@ if (ctlr->rt) spi_set_thread_rt(ctlr); +/* TODO: find alternative to param structure */ +//#if defined (CONFIG_MACH_PUMA5) || defined (CONFIG_MACH_PUMA6) || defined (CONFIG_MACH_PUMA7) +// param.sched_priority = 95 ; +// dev_info(&master->dev, +// "will run message pump with RR %d priority\n", param.sched_priority); +// sched_setscheduler(master->kworker_task, SCHED_RR, ¶m); +//#endif + return 0; }