Skip to content

3.17.0 build issue - Arizona codec #708

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ha5di opened this issue Oct 9, 2014 · 4 comments
Closed

3.17.0 build issue - Arizona codec #708

ha5di opened this issue Oct 9, 2014 · 4 comments

Comments

@ha5di
Copy link

ha5di commented Oct 9, 2014

Building 3.17.0 get this error:

Building modules, stage 2.
MODPOST 1458 modules
ERROR: "arizona_request_irq" [sound/soc/codecs/snd-soc-arizona.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

@crashmaster1
Copy link

+CONFIG_GPIO_ARIZONA=m
+CONFIG_MFD_ARIZONA_I2C=m
+CONFIG_MFD_ARIZONA_SPI=m
+CONFIG_MFD_WM5102=y
+CONFIG_REGULATOR=y
+CONFIG_REGULATOR_FIXED_VOLTAGE=m
+CONFIG_REGULATOR_ARIZONA=m
+CONFIG_SND_BCM2708_SOC_RPI_CODEC_WSP=m
+CONFIG_EXTCON=m
+CONFIG_EXTCON_ARIZONA=m

These are the Wolfson (Arizona) specific config lines.
Seems like a dependancy or module was missed and you have to activate it manually.
just a guess ...

@ha5di
Copy link
Author

ha5di commented Oct 11, 2014

Thanks. What I did I used my working 3.16.3 config and enabled Wolfson, got the reported issue.

With default bcmrpi_defconfig kernel builds.

@popcornmix
Copy link
Collaborator

Looks like arizona_request_irq is defined when you select CONFIG_MFD_ARIZONA.
It is used when you define CONFIG_SND_SOC_ARIZONA or CONFIG_EXTCON_ARIZONA.

I'd have thought CONFIG_SND_SOC_ARIZONA and CONFIG_EXTCON_ARIZONA should either depend on or select CONFIG_MFD_ARIZONA, but these files weren't changed by the Wolfson PR, so this looks an upstream linux issue.

Check you get the same build error with the same config options on a generic upstream 3.17 kernel and if so report it to upstream linux code.

@ha5di
Copy link
Author

ha5di commented Oct 12, 2014

OK, thanks. I edited manually .config per crashmaster1 advice and got 3.17.0 working in general. Unfortunately had no time to test whether Wolfsson really works or not.

@ha5di ha5di closed this as completed Oct 16, 2014
pfpacket pushed a commit to pfpacket/linux-rpi-rust that referenced this issue Apr 7, 2023
Makefile: strip debug info for Rust host programs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants