i2c and spi aren't just different protocols like ftp and http, you can't mix and match them on the same wires.
Put the i2c devices on one bus, connected to the i2c pins on your yun.
Put the spi device on another bus connected to the spi pins.
i2c and spi aren't just different protocols like ftp and http, you can't mix and match them on the same wires.
Put the i2c devices on one bus, connected to the i2c pins on your yun.
Put the spi device on another bus connected to the spi pins.