SPI: cs_change not working properly
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c
- Domain
- embedded-iot, operating-systems
Research direction
Start in drivers/spi/spi-omap2-mcspi.c at omap2_mcspi_work(), then trace how the t->cs_change branch controls omap2_mcspi_force_cs() and transaction state. Compare that behavior with the stated SPI contract for keeping chip select active after the function returns. Done means cs_change preserves the active chip select as requested without breaking the final transfer handling.
Written by the indexing model from the issue text.
Description
In file drivers/spi/spi-omap2-mcspi.c funcion omap2_mcspi_work()
/* ignore the "leave it on after last xfer" hint */
if (t->cs_change) {
omap2_mcspi_force_cs(spi, 0);
cs_active = 0;
}
Setting cs_change is supposed to keep the chip select pin active after returning from the function.
This code does not allow to keep the transaction alive.
- Dominant language
- Shell
- Stars
- 172
- Forks
- 156
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from beagleboard/kernel
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
beagleboard/kernel#102 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
beagleboard/kernel#87 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
beagleboard/kernel#82 ·
-
modprobe g_hid always failsMay be free again @RobertCNelson claimed this 4648 days ago, and no pull request is open. Open
beagleboard/kernel#75 · 2 comments · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
beagleboard/kernel#70 · 2 comments ·
All issues in beagleboard/kernel
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
docs: tutorial 7 still references removed A2AStarletteApplicationPossibly taken @FOWEPJF255 claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
a2aproject/A2A#2321 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
OpenSlides/OpenSlides#7180 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
magicmonty/bash-git-prompt#581 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day